Fix no reload on register
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
}
|
||||
const data = await response.json();
|
||||
localStorage.setItem('token', data.access_token);
|
||||
goto('/');
|
||||
goto('/').then(() => location.reload());
|
||||
} catch (err) {
|
||||
error = 'Network error - ' + err;
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user