Skip to content

Commit

Permalink
type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ajesuscode committed Oct 16, 2023
1 parent 88b413d commit 78391a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/SpotInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function SpotInfo({ spot }: { spot: PintxoConditions }) {
Best Surf: {spot.best_surf || "N/A"}
</div>
<div className=" border-1 border border-light/25 rounded-sm p-4">
Board: {spot.board || "N/A"}
Board: {typeof spot.board === "string" ? spot.board : "N/A"}
</div>
<div className=" border-1 border border-light/25 rounded-sm p-4">
Surfer: {spot.surfer || "N/A"}
Expand Down

0 comments on commit 78391a0

Please sign in to comment.