From 0a692498cea3d45428da69c089722d2094041344 Mon Sep 17 00:00:00 2001 From: robin Date: Fri, 19 Dec 2025 20:50:42 +0100 Subject: [PATCH] fix: Type error in TastingList for optional bottle_id --- src/components/TastingList.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/TastingList.tsx b/src/components/TastingList.tsx index 60ed1b8..7ad2e7e 100644 --- a/src/components/TastingList.tsx +++ b/src/components/TastingList.tsx @@ -16,7 +16,7 @@ interface Tasting { palate_notes?: string; finish_notes?: string; is_sample?: boolean; - bottle_id: string; + bottle_id?: string; created_at: string; tasting_buddies?: { buddies: { @@ -180,7 +180,7 @@ export default function TastingList({ initialTastings, currentUserId, bottleId } {(!currentUserId || note.user_id === currentUserId) && !note.isPending && (