diff --git a/src/components/GiveawayCard.tsx b/src/components/GiveawayCard.tsx index bcae1af..f14762b 100644 --- a/src/components/GiveawayCard.tsx +++ b/src/components/GiveawayCard.tsx @@ -15,6 +15,8 @@ interface GiveawayCardProps { const GiveawayCard: React.FC = ({ id, title, description, imageUrl, value, userId}) => { const [isModalOpen, setIsModalOpen] = useState(false); + const entrienumber = entrycount(userId, id); + const handleEnterClick = () => { const activeUserCoins = 300; // Replace with actual logic to fetch active user's coins (TO DO LATER) if (activeUserCoins >= value) { @@ -35,7 +37,7 @@ const GiveawayCard: React.FC = ({ id, title, description, ima

{title}

{description}

Value: {value} coins

-

Your entries: {entrycount(userId, id)}

+ {/*

Your entries: {entrycount(userId, id)}

*/}