refactor: add issue ids to TODOs

This commit is contained in:
OllyNicholass
2024-10-29 21:57:10 +00:00
parent 8540a2c50f
commit 7de7ccf9aa
2 changed files with 3 additions and 3 deletions
@@ -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: [
+2 -2
View File
@@ -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<void> {
// TODO - #61 use the error from the response
const { error } = await supabase.auth.signOut().then(callback);
}