Skip to content

Commit

Permalink
do not show stats modal again
Browse files Browse the repository at this point in the history
  • Loading branch information
pveyes committed Oct 5, 2023
1 parent 51bbba8 commit b2a3855
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,6 @@ export default function Home(props: Props) {

LocalStorage.setItem(GAME_STATS_KEY, JSON.stringify(data.stats));
LocalStorage.setItem(LAST_HASH_KEY, data.lastHash);
if (data.lastHash === game.hash) {
setModalState("stats");
}

setStats(data.stats);
trackEvent("migrationSuccess", {});
router.replace("/");
Expand Down

1 comment on commit b2a3855

@vercel
Copy link

@vercel vercel bot commented on b2a3855 Oct 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

katla – ./

katla.vercel.app
katla.id
katla-katla.vercel.app
katla-git-main-katla.vercel.app

Please sign in to comment.