mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2025-01-01 13:08:09 +00:00
use .replace() instead
This commit is contained in:
parent
4da9bcd793
commit
114ad262c3
|
@ -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