From 7de7ccf9aad160765c4154840679aac343988d55 Mon Sep 17 00:00:00 2001 From: OllyNicholass Date: Tue, 29 Oct 2024 21:57:10 +0000 Subject: [PATCH] refactor: add issue ids to TODOs --- src/lib/components/navigation/NavLinks.svelte | 2 +- src/lib/utils/supabase/auth.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/components/navigation/NavLinks.svelte b/src/lib/components/navigation/NavLinks.svelte index 842e244..652a58c 100644 --- a/src/lib/components/navigation/NavLinks.svelte +++ b/src/lib/components/navigation/NavLinks.svelte @@ -13,7 +13,7 @@ if (isMobile) { if (session) { userAccountLinks.push({ - text: 'User', // TODO - replace with user's name - will require a database call to get the user's name - suggest setting up a user model to store user data. + text: 'User', // TODO - #62 replace with user's name - will require a database call to get the user's name - suggest setting up a user model to store user data. isParent: true, isUserAccount: true, children: [ diff --git a/src/lib/utils/supabase/auth.ts b/src/lib/utils/supabase/auth.ts index 1e1705a..2388038 100644 --- a/src/lib/utils/supabase/auth.ts +++ b/src/lib/utils/supabase/auth.ts @@ -1,6 +1,6 @@ import type { SupabaseClient } from '@supabase/supabase-js'; -export async function signOut(supabase: SupabaseClient, callback: () => void) { - // TODO use the error from the response +export async function signOut(supabase: SupabaseClient, callback: () => void): Promise { + // TODO - #61 use the error from the response const { error } = await supabase.auth.signOut().then(callback); }