From 60af0ad6c661ce2064e0449132af82021bc48fa7 Mon Sep 17 00:00:00 2001 From: whysman Date: Tue, 29 Apr 2025 22:12:48 -0400 Subject: [PATCH] fixed null bug in the park list display --- components/Location.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Location.tsx b/components/Location.tsx index 3f33cc0..a7f626b 100644 --- a/components/Location.tsx +++ b/components/Location.tsx @@ -238,12 +238,12 @@ const LocationScreen: React.FC = ({ visible, park, setPark, 0 ? 8 : 2, + marginBottom: parks != null ? 8 : 2, color: theme.colors.primary }}> Nearby Dogparks - {parks.length > 0 ? ( + { parks != null ? ( item.Id}