diff --git a/README.md b/README.md
index a36934d..e806706 100644
--- a/README.md
+++ b/README.md
@@ -14,3 +14,5 @@ The React Compiler is not enabled on this template because of its impact on dev
## Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) for information on how to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project.
+
+## Start Frontend: npm run dev
diff --git a/src/components/CardRow/CardRow.jsx b/src/components/CardRow/CardRow.jsx
index 005304d..b19e7f3 100644
--- a/src/components/CardRow/CardRow.jsx
+++ b/src/components/CardRow/CardRow.jsx
@@ -3,19 +3,28 @@ import { CardContext } from '../../store/CardContext';
import PrintingRow from '../PrintingRow/PrintingRow';
function CardRow({ card }) {
- const { expandedCardId, setExpandedCardId } = useContext(CardContext);
+ const { expandedCardId, setExpandedCardId, ownedAmounts } = useContext(CardContext);
const isExpanded = expandedCardId === card.id;
const toggleExpand = () => setExpandedCardId(isExpanded ? null : card.id);
+ // Calculate total owned across all printings
+ const totalOwned = card.printings?.reduce((sum, p) => {
+ const owned = ownedAmounts[card.id]?.[p.set_id] ?? p.amount_owned ?? 0;
+ return sum + owned;
+ }, 0) ?? 0;
+
return (