From 2aaed3238e4cd27dfd33600edc0f423c665bd1ef Mon Sep 17 00:00:00 2001 From: McKayla Washburn Date: Tue, 6 Feb 2024 21:20:26 +0000 Subject: [PATCH] fix: use `replace` when redirecting from /health `pushHistory` will break the back button, so we need to use `replaceHistory` instead --- site/src/AppRouter.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/AppRouter.tsx b/site/src/AppRouter.tsx index 95b0f15e47f7b..c051ddacac833 100644 --- a/site/src/AppRouter.tsx +++ b/site/src/AppRouter.tsx @@ -387,7 +387,7 @@ export const AppRouter: FC = () => { }> - } /> + } /> } /> } /> } />