remove fixmes
This commit is contained in:
parent
83ad4588db
commit
db71b7ee3a
3 changed files with 0 additions and 5 deletions
|
@ -4,6 +4,5 @@
|
||||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// FIXME: Update code to support SSR
|
|
||||||
export const ssr = false;
|
export const ssr = false;
|
||||||
export const prerender = false;
|
export const prerender = false;
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
|
|
||||||
let submitError: string | undefined;
|
let submitError: string | undefined;
|
||||||
|
|
||||||
// FIXME: This is a badly done hack
|
|
||||||
credentials.subscribe(
|
credentials.subscribe(
|
||||||
(v) => v != null && setTimeout(() => (window.location.pathname = '/dashboard'), 200)
|
(v) => v != null && setTimeout(() => (window.location.pathname = '/dashboard'), 200)
|
||||||
);
|
);
|
||||||
|
@ -34,7 +33,6 @@
|
||||||
submitError = 'Check your credentials and try again.';
|
submitError = 'Check your credentials and try again.';
|
||||||
} else {
|
} else {
|
||||||
credentials.set(response as Credentials);
|
credentials.set(response as Credentials);
|
||||||
// FIXME: This is a badly done hack
|
|
||||||
setTimeout(() => (window.location.pathname = '/dashboard'), 200);
|
setTimeout(() => (window.location.pathname = '/dashboard'), 200);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
|
|
||||||
let submitError: string | undefined;
|
let submitError: string | undefined;
|
||||||
|
|
||||||
// FIXME: This is a badly done hack
|
|
||||||
credentials.subscribe(
|
credentials.subscribe(
|
||||||
(v) => v != null && setTimeout(() => (window.location.pathname = '/dashboard'), 200)
|
(v) => v != null && setTimeout(() => (window.location.pathname = '/dashboard'), 200)
|
||||||
);
|
);
|
||||||
|
@ -33,7 +32,6 @@
|
||||||
submitError = 'Check your credentials and try again, this user may already exist.';
|
submitError = 'Check your credentials and try again, this user may already exist.';
|
||||||
} else {
|
} else {
|
||||||
credentials.set(response as Credentials);
|
credentials.set(response as Credentials);
|
||||||
// FIXME: This is a badly done hack
|
|
||||||
setTimeout(() => (window.location.pathname = '/dashboard'), 200);
|
setTimeout(() => (window.location.pathname = '/dashboard'), 200);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue