remove fixmes

This commit is contained in:
Sofía Aritz 2024-06-30 19:24:19 +02:00
parent 83ad4588db
commit db71b7ee3a
Signed by: sofia
GPG key ID: 90B5116E3542B28F
3 changed files with 0 additions and 5 deletions

View file

@ -4,6 +4,5 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
// FIXME: Update code to support SSR
export const ssr = false;
export const prerender = false;

View file

@ -9,7 +9,6 @@
let submitError: string | undefined;
// FIXME: This is a badly done hack
credentials.subscribe(
(v) => v != null && setTimeout(() => (window.location.pathname = '/dashboard'), 200)
);
@ -34,7 +33,6 @@
submitError = 'Check your credentials and try again.';
} else {
credentials.set(response as Credentials);
// FIXME: This is a badly done hack
setTimeout(() => (window.location.pathname = '/dashboard'), 200);
}
},

View file

@ -9,7 +9,6 @@
let submitError: string | undefined;
// FIXME: This is a badly done hack
credentials.subscribe(
(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.';
} else {
credentials.set(response as Credentials);
// FIXME: This is a badly done hack
setTimeout(() => (window.location.pathname = '/dashboard'), 200);
}
},