feat: update default view to map and adjust map zoom/projection

This commit is contained in:
Usman Baig
2026-01-16 20:19:38 +01:00
parent 5c30e53617
commit 7606e9709b
2 changed files with 37 additions and 35 deletions

View File

@@ -13,7 +13,7 @@ interface LocationProps {
type Tab = 'map' | 'countries' | 'cities'
export default function Locations({ countries, cities }: LocationProps) {
const [activeTab, setActiveTab] = useState<Tab>('countries')
const [activeTab, setActiveTab] = useState<Tab>('map')
const getFlagComponent = (countryCode: string) => {
if (!countryCode || countryCode === 'Unknown') return null