diff --git a/src/views/Game/components/Header.tsx b/src/views/Game/components/Header.tsx
index c251ef4..d6b33ff 100644
--- a/src/views/Game/components/Header.tsx
+++ b/src/views/Game/components/Header.tsx
@@ -1,4 +1,3 @@
-import { FunctionComponent, useEffect, useState } from "react";
import {
Box,
Card,
@@ -8,19 +7,17 @@ import {
Typography,
useTheme,
} from "@mui/material";
-import RemoteDialog from "./RemoteDialog";
-import { IoLogoGameControllerB } from "react-icons/io";
+import { FunctionComponent, useEffect, useState } from "react";
import { IoExitOutline } from "react-icons/io5";
-import ExitGameDialog from "./ExitGameDialog";
import { useNavigate } from "react-router-dom";
+import { useSounds } from "../../../hooks/sounds";
import useGame from "../../../stores/game";
-import { secondsToHHMMSS, secondsToHHMMSSsss } from "../../../utilities/time";
-import useSettings from "../../../stores/settings";
-import { MdWbSunny } from "react-icons/md";
-import { BsMoonStarsFill } from "react-icons/bs";
import { useGameMetrics } from "../../../stores/metrics";
+import useSettings from "../../../stores/settings";
+import { secondsToHHMMSS, secondsToHHMMSSsss } from "../../../utilities/time";
import DNFDialog from "./DNFDialog";
-import { useSounds } from "../../../hooks/sounds";
+import ExitGameDialog from "./ExitGameDialog";
+import RemoteDialog from "./RemoteDialog";
const Header: FunctionComponent = () => {
const theme = useTheme();
@@ -103,7 +100,7 @@ const Header: FunctionComponent = () => {
},
}}
>
-
+ {/*
{
)}
-
+ */}
@@ -193,7 +190,7 @@ const Header: FunctionComponent = () => {
},
}}
>
-
+ {/*
{
>
DNF
-
+ */}
{
Start game
-
+ */}
diff --git a/src/views/Login/New/stores/new.ts b/src/views/Login/New/stores/new.ts
index b1f5136..9e02978 100644
--- a/src/views/Login/New/stores/new.ts
+++ b/src/views/Login/New/stores/new.ts
@@ -19,7 +19,7 @@ interface NewGameAction {
}
const initialState: NewGameState = {
- ready: false,
+ ready: true,
numberOfPlayers: 4,
gameMode: "normal",
players: [],
diff --git a/src/views/Login/index.tsx b/src/views/Login/index.tsx
index a9e32a8..02de3ce 100644
--- a/src/views/Login/index.tsx
+++ b/src/views/Login/index.tsx
@@ -1,11 +1,10 @@
import { Box, Container, Stack } from "@mui/material";
-import { FunctionComponent, memo, useEffect, useMemo } from "react";
+import { FunctionComponent, memo, useEffect } from "react";
import { Outlet } from "react-router-dom";
-import SoundMuteFab from "./components/SoundMuteFab";
-import BottomGamesCount from "./components/BottomGamesCount";
-import { useSounds } from "../../hooks/sounds";
import ConfirmDialog from "../../components/ConfirmDialog";
-import ThemeModeFab from "./components/ThemeModeFab";
+import { useSounds } from "../../hooks/sounds";
+import BottomGamesCount from "./components/BottomGamesCount";
+import SoundMuteFab from "./components/SoundMuteFab";
const LoginView: FunctionComponent = () => {
const { play, stopAll } = useSounds();
@@ -38,7 +37,7 @@ const LoginView: FunctionComponent = () => {
}}
>
-
+ {/* */}