Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
fix: extra group item on total in basket
Browse files Browse the repository at this point in the history
  • Loading branch information
aprets committed Apr 15, 2022
1 parent 7ca164e commit 7cd1ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next/components/Menu/Basket.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function Basket({menu}: {menu: Menu}) {
<Text weight={500}>Total</Text>
<Text weight={500}>
£{basketItems.entrySeq().reduce((acc, [id, count]) => acc + menu.itemsById[id].fields.price * count, 0).toFixed(2)}
</Text>+
</Text>
</Group>

)}
Expand Down

0 comments on commit 7cd1ab3

Please sign in to comment.