aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-09-11 23:05:34 +0100
committerGravatar Joe Banks <[email protected]>2024-09-11 23:05:34 +0100
commitb4f006f3a75efc0f11e1948f0470179543994c4f (patch)
tree3d9fb9e6c4bcf9119b19bc2847b46fc5c28f2cd4
parentCorrect typing of button reference (diff)
Use success toast notifications
-rw-r--r--thallium-frontend/src/components/StoreItem.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/thallium-frontend/src/components/StoreItem.tsx b/thallium-frontend/src/components/StoreItem.tsx
index 478e35c..b60e19f 100644
--- a/thallium-frontend/src/components/StoreItem.tsx
+++ b/thallium-frontend/src/components/StoreItem.tsx
@@ -293,7 +293,7 @@ const StoreItem: React.FC<StoreItemProps> = ({ template }: StoreItemProps) => {
estPrice: selectedVariant.price,
}));
- toast("Item added to cart!");
+ toast.success("Item added to cart!");
}
}}
>Add to Cart</CartButton>