mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-26 10:34:09 +03:00
app: whenever sign in mounts, reset the nav
This commit is contained in:
parent
3b05fdc566
commit
a2662234b8
@ -111,6 +111,10 @@ export default class SceneSignIn extends React.Component {
|
||||
loading: false,
|
||||
};
|
||||
|
||||
componentDidMount() {
|
||||
window.history.replaceState({ id: null }, "Slate", `/_`);
|
||||
}
|
||||
|
||||
_handleChange = (e) => {
|
||||
this.setState({ [e.target.name]: e.target.value });
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user