Skip to content

Commit

Permalink
update: Sun 11 Aug 2024 15:27:06 CEST
Browse files Browse the repository at this point in the history
  • Loading branch information
cophilot committed Aug 11, 2024
1 parent fbcfce1 commit 50a4522
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/views/HomeView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ import {
useIsDarkModeEnabled,
useToggleTheme,
} from '../providers/ThemeProvider';
import StyleUtils from '../api/utils/StyleUtils';

export default function HomeView() {
const navigate = useNavigate();
const toggleTheme = useToggleTheme();
const isDarkModeEnabled = useIsDarkModeEnabled();
useEffect(() => {
document.title = 'BoardScoreHub';
StyleUtils.setDefaultValues(isDarkModeEnabled());
}, []);

const games = getSortedGameNames();
Expand Down

0 comments on commit 50a4522

Please sign in to comment.