From b8e32a37de1d2366eb748bc23ffcc2fee5225476 Mon Sep 17 00:00:00 2001 From: Kayla Washburn-Love Date: Tue, 6 Feb 2024 14:27:32 -0700 Subject: [PATCH] fix: use `replace` when redirecting from /health (#12039) `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 95b0f15e47..c051ddacac 100644 --- a/site/src/AppRouter.tsx +++ b/site/src/AppRouter.tsx @@ -387,7 +387,7 @@ export const AppRouter: FC = () => { }> - } /> + } /> } /> } /> } />