mirror of
https://github.com/jcreek/SvelteKitSaasBoilerplate.git
synced 2026-07-12 18:43:50 +00:00
refactor: add issue ids to TODOs
This commit is contained in:
@@ -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: [
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user