diff --git a/src/components/settings/LocationTab.tsx b/src/components/settings/LocationTab.tsx index 7a43decd..d2f476bf 100644 --- a/src/components/settings/LocationTab.tsx +++ b/src/components/settings/LocationTab.tsx @@ -15,7 +15,6 @@ import { supabase } from '@/integrations/supabase/client'; import { MapPin, Calendar, Globe, Accessibility } from 'lucide-react'; const locationSchema = z.object({ - date_of_birth: z.string().optional(), preferred_pronouns: z.string().max(20).optional(), timezone: z.string(), preferred_language: z.string(), @@ -44,7 +43,6 @@ export function LocationTab() { const form = useForm({ resolver: zodResolver(locationSchema), defaultValues: { - date_of_birth: profile?.date_of_birth || '', preferred_pronouns: profile?.preferred_pronouns || '', timezone: profile?.timezone || 'UTC', preferred_language: profile?.preferred_language || 'en', @@ -102,7 +100,6 @@ export function LocationTab() { const { error } = await supabase .from('profiles') .update({ - date_of_birth: data.date_of_birth || null, preferred_pronouns: data.preferred_pronouns || null, timezone: data.timezone, preferred_language: data.preferred_language, @@ -258,17 +255,6 @@ export function LocationTab() { -
- - -

- Used to calculate your age if you choose to display it. -

-