Merge branch 'main' into fix_datetime_2

This commit is contained in:
Alec Armbruster 2023-06-29 09:32:03 -04:00 committed by GitHub
commit dc439b8dee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -205,12 +205,10 @@ export class Setup extends Component<any, State> {
const data = i.state.registerRes.data; const data = i.state.registerRes.data;
UserService.Instance.login(data); UserService.Instance.login(data);
if (UserService.Instance.jwtInfo) {
i.setState({ doneRegisteringUser: true }); i.setState({ doneRegisteringUser: true });
} }
} }
} }
}
async handleCreateSite(form: CreateSite) { async handleCreateSite(form: CreateSite) {
const createRes = await HttpService.client.createSite(form); const createRes = await HttpService.client.createSite(form);