mirror of
https://github.com/Vikeo/LifeTrinket.git
synced 2025-11-18 16:58:01 +00:00
rename resetGame
This commit is contained in:
@@ -80,7 +80,7 @@ const App = () => {
|
||||
setPlayers(updatedPlayers);
|
||||
};
|
||||
|
||||
const resetCurrentGame = async () => {
|
||||
const goToStart = async () => {
|
||||
const currentPlayers = localStorage.getItem('players');
|
||||
if (currentPlayers) {
|
||||
analytics.trackEvent('go_to_start', {
|
||||
@@ -102,7 +102,7 @@ const App = () => {
|
||||
players={players}
|
||||
onPlayerChange={handlePlayerChange}
|
||||
gridAreas={initialGameSettings?.gridAreas}
|
||||
resetCurrentGame={resetCurrentGame}
|
||||
goToStart={goToStart}
|
||||
wakeLock={wakeLock}
|
||||
/>
|
||||
</PlayWrapper>
|
||||
|
||||
Reference in New Issue
Block a user