Skip to content

Commit

Permalink
Fix: hide confetti after feature popup is closed.
Browse files Browse the repository at this point in the history
  • Loading branch information
xmliszt committed Mar 28, 2024
1 parent 75bf8bb commit 860f891
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/custom/globals/feature-popup/feature-popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export default function FeaturePopup() {
if (shouldShowWeeklyDrop) {
// pop up is about weekly drop, we update the date.
setWeeklyTopicsPopupString(weeklyDropDate);
setShouldShowWeeklyDrop(false);
} else {
// pop up is about new feature, we update the version.
setFeaturePopupString(process.env.NEXT_PUBLIC_TABOO_AI_VERSION);
Expand Down

0 comments on commit 860f891

Please sign in to comment.