Skip to content

Commit

Permalink
chore: remove unused component
Browse files Browse the repository at this point in the history
  • Loading branch information
KatoakDR committed Sep 24, 2024
1 parent 6c8f0e6 commit b2d8ed3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 57 deletions.
13 changes: 0 additions & 13 deletions electron/renderer/components/game/game-container.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { useState } from 'react';
import type { ReactNode } from 'react';
import { GameBottomBar } from './game-bottom-bar.jsx';
import { GameGrid } from './game-grid.jsx';
import { GameSettings } from './game-settings.jsx';
import { GameTopBar } from './game-top-bar.jsx';

export interface GameContainerProps {
Expand All @@ -12,22 +10,11 @@ export interface GameContainerProps {
export const GameContainer: React.FC<GameContainerProps> = (
props: GameContainerProps
): ReactNode => {
const [showSettings, setShowSettings] = useState<boolean>(true);

return (
<>
<GameTopBar />
<GameGrid />
<GameBottomBar />
<GameSettings
show={showSettings}
onHide={() => {
setShowSettings(false);
// setTimeout(() => {
// setShowSettings(true);
// }, 10_000);
}}
/>
</>
);
};
Expand Down
44 changes: 0 additions & 44 deletions electron/renderer/components/game/game-settings.tsx

This file was deleted.

0 comments on commit b2d8ed3

Please sign in to comment.