app: whenever sign in mounts, reset the nav

This commit is contained in:
@wwwjim 2020-09-13 22:42:23 -07:00
parent 3b05fdc566
commit a2662234b8

View File

@ -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 });
};