mirror of
https://github.com/jcreek/SvelteKitSaasBoilerplate.git
synced 2026-07-12 18:43:50 +00:00
refactor(#35): update type for supabase client in nav
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user