Skip to content

Commit

Permalink
Fixing site setup. Fixes #1694 (#1697)
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines authored Jun 29, 2023
1 parent 67365d5 commit ec649d1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/shared/components/home/setup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,7 @@ export class Setup extends Component<any, State> {
const data = i.state.registerRes.data;

UserService.Instance.login(data);
if (UserService.Instance.jwtInfo) {
i.setState({ doneRegisteringUser: true });
}
i.setState({ doneRegisteringUser: true });
}
}
}
Expand Down

0 comments on commit ec649d1

Please sign in to comment.