Put back settings (Home) component on opening app

This commit is contained in:
2024-02-16 18:26:54 +01:00
parent 2459654403
commit e21910547a
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -35,10 +35,11 @@
& > .select { & > .select {
padding: 2.5px 5px; padding: 2.5px 5px;
border: 1px solid #f39440; border: 2px solid #f39440;
border-radius: 5px; border-radius: 5px;
background-color: #ffdccb; background-color: #ffdccb;
font-size: 1rem; font-size: 1rem;
font-weight: 400;
color: #f39440; color: #f39440;
outline: none; outline: none;
cursor: pointer; cursor: pointer;
+1 -1
View File
@@ -14,7 +14,7 @@ import { atom } from 'recoil';
export const gameStateAtom = atom({ export const gameStateAtom = atom({
key: 'gameState', key: 'gameState',
default: { default: {
status: 'board', status: 'settings',
difficulty: 'beginner', difficulty: 'beginner',
gridSize: 12, gridSize: 12,
bombs: 0, bombs: 0,