actualy being able to go to start

This commit is contained in:
Viktor Rådberg
2023-09-22 09:53:12 +02:00
parent 3dc40bf193
commit 35e21a62fe
2 changed files with 13 additions and 9 deletions

View File

@@ -33,6 +33,7 @@ const StartButtonFooter = styled.div`
position: fixed;
bottom: 1rem;
translate: -50%, -50%;
z-index: 1;
`;
const ToggleButtonsWrapper = styled.div`
@@ -162,7 +163,7 @@ const Start = ({
setPlayers(createInitialPlayers(initialGameSettings));
setShowPlay(true);
localStorage.setItem('playing', 'false');
//Todo maybe showPlay is redundant?
// todo maybe showPlay is redundant?
localStorage.setItem('showPlay', 'true');
};