use .replace() instead
This commit is contained in:
parent
4da9bcd793
commit
114ad262c3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue