aboutsummaryrefslogtreecommitdiffstats
path: root/thallium-frontend/src/components/CartStatus.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'thallium-frontend/src/components/CartStatus.tsx')
-rw-r--r--thallium-frontend/src/components/CartStatus.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/thallium-frontend/src/components/CartStatus.tsx b/thallium-frontend/src/components/CartStatus.tsx
index 3524224..d65697a 100644
--- a/thallium-frontend/src/components/CartStatus.tsx
+++ b/thallium-frontend/src/components/CartStatus.tsx
@@ -48,7 +48,7 @@ const CartStatus = () => {
const price = cart.cart.reduce((acc, item) => acc + (parseFloat(item.estPrice) * item.quantity), 0);
const staticButtonRef = useRef<HTMLButtonElement>(null);
- const buttonVisible = useVisible(staticButtonRef);
+ const buttonVisible = useVisible(staticButtonRef, true);
const checkoutMsg = total > 0 ? "Confirm & Checkout >" : "Add some items to proceed to checkout";