mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 06:11:12 -05:00
Optimize select queries
This commit is contained in:
@@ -61,7 +61,7 @@ export function LocationSearch({ onLocationSelect, initialLocationId, className
|
||||
const loadInitialLocation = async (locationId: string) => {
|
||||
const { data, error } = await supabase
|
||||
.from('locations')
|
||||
.select('*')
|
||||
.select('id, name, city, state_province, country, postal_code, latitude, longitude, timezone')
|
||||
.eq('id', locationId)
|
||||
.maybeSingle();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user