Skip to content

Commit

Permalink
app: fix location.reload() parameter count
Browse files Browse the repository at this point in the history
Error: Expected 0 arguments, but got 1. (ts)
    // current game and names etc. Until that's fixed, just reload.
    location.reload(true);
  }
  • Loading branch information
jnikula committed Nov 14, 2024
1 parent f824a98 commit 2180afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
function ui_goto_start_page(): void {
// FIXME: This can't just set ui_page = UiPage.START, because it messes up
// current game and names etc. Until that's fixed, just reload.
location.reload(true);
location.reload();
}
function ui_goto_play_page(): void {
Expand Down

0 comments on commit 2180afe

Please sign in to comment.