From 114ad262c3fd0da01fca98a4ea8fe094b953beb9 Mon Sep 17 00:00:00 2001 From: Alec Armbruster Date: Thu, 15 Jun 2023 12:38:42 -0400 Subject: [PATCH] use .replace() instead --- src/shared/components/home/login.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/components/home/login.tsx b/src/shared/components/home/login.tsx index 29972151..381c13bb 100644 --- a/src/shared/components/home/login.tsx +++ b/src/shared/components/home/login.tsx @@ -188,7 +188,7 @@ export class Login extends Component { i.props.history.action === "PUSH" ? i.props.history.back() - : i.props.history.push("/"); + : i.props.history.replace("/"); break; }