Commit 7ac5e063 by jaymehta

.

1 parent b0e551bd
...@@ -299,6 +299,7 @@ const GiftCard = () => { ...@@ -299,6 +299,7 @@ const GiftCard = () => {
onClick={async () => { onClick={async () => {
setloading(true); setloading(true);
if (!session) { if (!session) {
setloading(false);
toast.warning("Please log in to buy a gift card."); toast.warning("Please log in to buy a gift card.");
return; return;
} }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!