From a2eab78ae34535d606a8e389af1feac68d1d3d00 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 5 Jul 2025 17:50:21 -0500 Subject: [PATCH] Improve AppConfigSchema type --- src/components/AppProvider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AppProvider.tsx b/src/components/AppProvider.tsx index ebbbbe4..79c9e69 100644 --- a/src/components/AppProvider.tsx +++ b/src/components/AppProvider.tsx @@ -14,7 +14,7 @@ interface AppProviderProps { } // Zod schema for AppConfig validation -const AppConfigSchema: z.ZodType = z.object({ +const AppConfigSchema: z.ZodType = z.object({ theme: z.enum(['dark', 'light', 'system']), relayUrl: z.string().url(), });