Attempt to fix error on login page. Ref: OwlBoard/backend#39

This commit is contained in:
Fred Boniface 2023-08-24 12:44:22 +01:00
parent 680fb68ce2
commit 73dd219394
1 changed files with 8 additions and 2 deletions

View File

@ -38,11 +38,17 @@
isLoading = false; isLoading = false;
} }
onMount(async () => { $: {
if ($uuid != 'null') {
state = 'reg'
} else state = 'unreg'
}
/* onMount(async () => {
if ($uuid != 'null') { if ($uuid != 'null') {
state = 'reg'; state = 'reg';
} }
}); });*/
</script> </script>
{#if isLoading} {#if isLoading}