#1 adjust return type
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user