aboutsummaryrefslogtreecommitdiff
path: root/src/lib/stores/users.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/stores/users.ts')
-rw-r--r--src/lib/stores/users.ts13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/lib/stores/users.ts b/src/lib/stores/users.ts
deleted file mode 100644
index 2a56cb5..0000000
--- a/src/lib/stores/users.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import { createClient } from '@supabase/supabase-js'
-import { single } from './supabase';
-import { supabase } from '$lib/config/config';
-
-import type { User } from '$lib/data/types';
-
-const client = createClient(supabase.url, supabase.key);
-
-export const user = (id: string) => single<User>(client
- .from('users')
- .select('*')
- .eq('id', id),
- null);