diff --git a/src/containers/main/Airdrop/AirdropGiftTracker/sections/LoggedIn/segments/Flare/Flare.tsx b/src/containers/main/Airdrop/AirdropGiftTracker/sections/LoggedIn/segments/Flare/Flare.tsx index a64df7af6..6cd5f929e 100644 --- a/src/containers/main/Airdrop/AirdropGiftTracker/sections/LoggedIn/segments/Flare/Flare.tsx +++ b/src/containers/main/Airdrop/AirdropGiftTracker/sections/LoggedIn/segments/Flare/Flare.tsx @@ -40,7 +40,7 @@ export default function Flare({ gems, animationType }: Props) { exit={{ opacity: 0 }} onClick={() => setFlareAnimationType()} > - {animationType === 'GoalComplete' && } + {animationType === 'GoalComplete' && gems > 0 && } {animationType === 'FriendAccepted' && } {animationType === 'BonusGems' && } diff --git a/src/hooks/airdrop/stateHelpers/useAirdropUserPointsListener.ts b/src/hooks/airdrop/stateHelpers/useAirdropUserPointsListener.ts index 7810f93e7..bf787c3ee 100644 --- a/src/hooks/airdrop/stateHelpers/useAirdropUserPointsListener.ts +++ b/src/hooks/airdrop/stateHelpers/useAirdropUserPointsListener.ts @@ -17,7 +17,7 @@ export const useAirdropUserPointsListener = () => { setFlareAnimationType('FriendAccepted'); const goalComplete = bonusTiers?.find((t) => t.target === incomingReferralData?.count); - if (goalComplete) { + if (goalComplete && goalComplete.bonusGems) { setTimeout(() => setFlareAnimationType('GoalComplete'), 3000); }