mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 02:31:12 -05:00
Optimize select queries
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user