Skip to content

Commit

Permalink
clear countdown on shop closure
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceau committed Feb 14, 2024
1 parent aaea955 commit 6ba56a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/pages/home/sidebar/slippi_store.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export const SlippiStore = React.memo(function SlippiStore() {

if (isBefore(endDate, now)) {
setShopOpen(false);
setCountdown("");
clearInterval(interval);
} else {
setCountdown(formatDuration(duration, { locale: shortEnLocale }));
Expand Down

0 comments on commit 6ba56a0

Please sign in to comment.