Fix production TypeScript builds and add DEPLOY.md so the app can be hosted from this repo. Co-authored-by: Cursor <cursoragent@cursor.com>
9 lines
263 B
TypeScript
9 lines
263 B
TypeScript
import { atom } from 'jotai';
|
|
import { isSupabaseConfigured } from '@/services/supabase';
|
|
|
|
export type SupabaseStatus = 'checking' | 'online' | 'offline';
|
|
|
|
export const supabaseStatusAtom = atom<SupabaseStatus>(
|
|
isSupabaseConfigured ? 'checking' : 'offline'
|
|
);
|