1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

(fix) useless and erroneous code

This commit is contained in:
irismarie 2021-02-05 13:06:02 +01:00
parent 3eb3c88bbe
commit b8b0f3e44a

View file

@ -86,7 +86,6 @@ class LoginComplete extends React.Component {
}
render() {
const { user } = this.state.currentUser;
if (this.state.currentUser !== null && this.state.currentUser !== "") {
return (<Redirect to="/home" />);
}