Fix Supabase client proxy

This commit is contained in:
gpt-engineer-app[bot]
2025-11-04 17:37:30 +00:00
parent 87589ee08f
commit 2deab69ebe
2 changed files with 60 additions and 30 deletions

View File

@@ -101,6 +101,8 @@ export function useUnitPreferences() {
user_id: user.id,
unit_preferences: newPreferences as unknown as Json,
updated_at: new Date().toISOString()
}, {
onConflict: 'user_id'
});
if (error) {