mirror of
https://github.com/jcreek/SvelteKitSaasBoilerplate.git
synced 2026-07-13 02:53:50 +00:00
refactor: add issue ids to TODOs
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
if (isMobile) {
|
if (isMobile) {
|
||||||
if (session) {
|
if (session) {
|
||||||
userAccountLinks.push({
|
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,
|
isParent: true,
|
||||||
isUserAccount: true,
|
isUserAccount: true,
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import type { SupabaseClient } from '@supabase/supabase-js';
|
import type { SupabaseClient } from '@supabase/supabase-js';
|
||||||
|
|
||||||
export async function signOut(supabase: SupabaseClient, callback: () => void) {
|
export async function signOut(supabase: SupabaseClient, callback: () => void): Promise<void> {
|
||||||
// TODO use the error from the response
|
// TODO - #61 use the error from the response
|
||||||
const { error } = await supabase.auth.signOut().then(callback);
|
const { error } = await supabase.auth.signOut().then(callback);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user