From 2a4f89d79e52f19bbfbaa0e188ec7ee20a329a73 Mon Sep 17 00:00:00 2001 From: BrownKnight Date: Fri, 30 Aug 2024 15:52:34 +0100 Subject: [PATCH] Fix nav after URL change --- ui/src/pages/Home.tsx | 10 +++++----- ui/src/timer-battle/TimerBattleScreen.tsx | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ui/src/pages/Home.tsx b/ui/src/pages/Home.tsx index 0c23b7f..fa5ba50 100644 --- a/ui/src/pages/Home.tsx +++ b/ui/src/pages/Home.tsx @@ -31,13 +31,13 @@ export default function Home() { Battle Mode - + Play a Random Grid - + Create a Grid @@ -49,14 +49,14 @@ export default function Home() {

Recent NYT Grids

- navigate(`/grid/${gridId}`)} /> + navigate(`/grids/${gridId}`)} />

Find a Grid

- navigate(`/grid/${gridId}`)} /> + navigate(`/grids/${gridId}`)} />
@@ -95,7 +95,7 @@ export default function Home() {

Create your own Grid

You can{" "} - + Create your own Grid {" "} and have it be played anyone in the community. diff --git a/ui/src/timer-battle/TimerBattleScreen.tsx b/ui/src/timer-battle/TimerBattleScreen.tsx index 3ef6f63..a170343 100644 --- a/ui/src/timer-battle/TimerBattleScreen.tsx +++ b/ui/src/timer-battle/TimerBattleScreen.tsx @@ -122,7 +122,7 @@ export default function TimerBattleScreen() {

Recent NYT Grids

- selectGrid(`/grid/${gridId}`)} /> + selectGrid(gridId)} />