remove re-marking bought items as bought

This commit is contained in:
Nico 2026-01-02 14:38:11 -08:00
parent d2824f8aeb
commit 8894cf21ea

View File

@ -56,7 +56,9 @@ export default function GroceryListItem({ item, onClick, onImageAdded, onLongPre
}; };
const handleItemClick = () => { const handleItemClick = () => {
setShowConfirmBuyModal(true); if (onClick) {
setShowConfirmBuyModal(true);
}
}; };
const handleConfirmBuy = (quantity) => { const handleConfirmBuy = (quantity) => {