Skip to content

Commit

Permalink
fix(ui): not populating hand level UI in default state
Browse files Browse the repository at this point in the history
  • Loading branch information
kleinfreund committed Mar 4, 2024
1 parent 7659c97 commit 8efbeaa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ui/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,8 @@ function fetchStateAndPopulateUi () {
// Makes sure state is saved in _both_ URL and browser storage.
saveState('state', initialState)
uiState.updateScore(initialState)
} else {
const state = getState({})
uiState.populateUiWithState(state)
}
}

0 comments on commit 8efbeaa

Please sign in to comment.