import Link from 'next/link'; /** * Nearby game stores subsection for the Purchase tab. */ export default function CardDetailLocalStores({ stores = [], loading = false, error = null, noHomeZip = false, }) { if (loading) { return (
Loading nearby stores…
Add your home ZIP in Settings to see nearby game and hobby stores.
Set home ZIP in Settings{error}
No game or hobby stores found in your area yet. Try again later — store data comes from OpenStreetMap.
) : ({store.name}
{store.address ? ({store.address}
) : null}{store.distanceMiles} mi away