mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-26 14:21:13 +00:00
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.action === "PUSH"
|
||||||
? i.props.history.back()
|
? i.props.history.back()
|
||||||
: i.props.history.push("/");
|
: i.props.history.replace("/");
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue