mirror of
https://github.com/jcreek/SvelteKitSaasBoilerplate.git
synced 2026-07-13 02:53:50 +00:00
feat(#35): make basket more prominent in nav
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import type { SupabaseClient } from "@supabase/supabase-js";
|
||||
|
||||
export async function signOut(supabase: SupabaseClient, callback: () => void) {
|
||||
// TODO use the error from the response
|
||||
const { error } = await supabase.auth.signOut().then(callback);
|
||||
}
|
||||
Reference in New Issue
Block a user