#1 adjust return type

This commit is contained in:
Tim
2024-07-26 23:14:36 +02:00
parent f15f085462
commit 6fe4830aee

View File

@@ -7,7 +7,7 @@
var user: User | null = null;
var unsub: (() => void) | null = null;
onMount(async (): Promise<any> => {
onMount(async () => {
const { auth: _auth } = await import('../lib/firebase');
auth = _auth;
user = auth.currentUser;