From 78391a0c7e329d8b8c4e5159abbe129ac78aafe1 Mon Sep 17 00:00:00 2001 From: aJesusCode Date: Mon, 16 Oct 2023 23:23:45 +0200 Subject: [PATCH] type fix --- src/app/components/SpotInfo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/SpotInfo.tsx b/src/app/components/SpotInfo.tsx index 0b63d3c..9e8c50a 100644 --- a/src/app/components/SpotInfo.tsx +++ b/src/app/components/SpotInfo.tsx @@ -16,7 +16,7 @@ export default function SpotInfo({ spot }: { spot: PintxoConditions }) { Best Surf: {spot.best_surf || "N/A"}
- Board: {spot.board || "N/A"} + Board: {typeof spot.board === "string" ? spot.board : "N/A"}
Surfer: {spot.surfer || "N/A"}