✨ Put back settings (Home) component on opening app
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user