diff --git a/pages/index.tsx b/pages/index.tsx index ae7966e..09f47a5 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -70,6 +70,10 @@ const Home: NextPage = () => { /> + {receipt.map((itemAtom, i) => { + return ; + })} +
Receipt Total: @@ -80,9 +84,7 @@ const Home: NextPage = () => {
- {receipt.map((itemAtom, i) => { - return ; - })} +
{calculated.totalMap.size > 0 && ( <>