Optimize select queries

This commit is contained in:
gpt-engineer-app[bot]
2025-10-21 16:42:31 +00:00
parent 29fb04d03d
commit 97f415941c
9 changed files with 15 additions and 15 deletions

View File

@@ -34,7 +34,7 @@ export function useProfile(userId: string | undefined) {
if (profileData.location_id) {
const { data: location } = await supabase
.from('locations')
.select('*')
.select('id, name, city, state_province, country, timezone')
.eq('id', profileData.location_id)
.single();