use .replace() instead

This commit is contained in:
Alec Armbruster 2023-06-15 12:38:42 -04:00
parent 4da9bcd793
commit 114ad262c3
No known key found for this signature in database
GPG key ID: 0BE3206ADE0F3B3B

View file

@ -188,7 +188,7 @@ export class Login extends Component<any, State> {
i.props.history.action === "PUSH"
? i.props.history.back()
: i.props.history.push("/");
: i.props.history.replace("/");
break;
}