mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-29 12:04:04 +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.back()
|
||||
: i.props.history.push("/");
|
||||
: i.props.history.replace("/");
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue