refactor(#35): update type for supabase client in nav

This commit is contained in:
OllyNicholass
2024-11-18 22:45:03 +00:00
parent fb05f0b889
commit 2174336512
+2 -1
View File
@@ -6,9 +6,10 @@
import Dropdown from '../Dropdown.svelte';
import { basket, type Basket } from '$lib/stores/basket.js';
import { onDestroy } from 'svelte';
import type { Database } from '$lib/types/supabase';
export let session: Session | null;
export let supabase: SupabaseClient<any, 'public', any>;
export let supabase: SupabaseClient<Database>;
let localBasket: Basket;
const unsubscribeToBasket = basket.subscribe((value) => {