feat(#35): make basket more prominent in nav

This commit is contained in:
OllyNicholass
2024-10-29 20:44:45 +00:00
parent 7c6afd169c
commit 4be732005e
7 changed files with 84 additions and 47 deletions
+6
View File
@@ -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);
}