diff --git a/apps/frontend/src/components/NearbyVenues.tsx b/apps/frontend/src/components/NearbyVenues.tsx
index 18f57b5..70ebfa2 100644
--- a/apps/frontend/src/components/NearbyVenues.tsx
+++ b/apps/frontend/src/components/NearbyVenues.tsx
@@ -13,7 +13,7 @@ interface NearbyVenuesProps {
locationError: string | null
isLoading: boolean
isError: boolean
- maxDistanceKm?: number
+ maxDistanceKm?: number | null
onRefresh: () => void
}
@@ -82,7 +82,9 @@ export default function NearbyVenues({
- Pubs within {maxDistanceKm} km
+ {maxDistanceKm == null
+ ? 'Pubs near you'
+ : `Pubs within ${maxDistanceKm} km`}
@@ -234,7 +231,7 @@ function App() {
locationError={locationError}
isLoading={isFetching}
isError={isError}
- maxDistanceKm={nearbyMaxDistanceKm}
+ maxDistanceKm={searchFilters.maxDistanceKm}
onRefresh={refreshLocation}
/>
diff --git a/packages/db/prisma/seed.ts b/packages/db/prisma/seed.ts
index 81715f2..957f352 100644
--- a/packages/db/prisma/seed.ts
+++ b/packages/db/prisma/seed.ts
@@ -436,9 +436,9 @@ async function main() {
create: [
{
name: 'The Dubliner Folk Pub',
- address: 'Rådhusgata 13',
- lat: 59.9114,
- lon: 10.7405,
+ address: 'Rådhusgata 28',
+ lat: 59.909831,
+ lon: 10.740738,
openingHours: {
create: [
{
@@ -483,9 +483,9 @@ async function main() {
},
{
name: 'Tilt',
- address: 'Øvre Slottsgate 6',
- lat: 59.9139,
- lon: 10.7432,
+ address: 'Badstugata 6',
+ lat: 59.916211,
+ lon: 10.750614,
openingHours: {
create: [
{