Fix onboarding.

This commit is contained in:
Paul committed 2021-07-25 13:55:45 +01:00
1 parent fd03c64d92
commit f2a69daf03
3 files changed
+3 -3

No files matched your search

@@ -28,7 +28,7 @@ export function OnboardingModal({ onClose, callback }: Props) {
const onSubmit: SubmitHandler<FormInputs> = ({ username }) => {
setLoading(true);
callback(username, true)
.then(onClose)
.then(() => onClose())
.catch((err: any) => {
setError(takeError(err));
setLoading(false);