This commit is contained in:
2025-12-18 00:32:45 +01:00
parent 52da147761
commit a41a72fb0d
378 changed files with 340 additions and 30813 deletions

View File

@@ -6,6 +6,7 @@ import { ChevronLeft, Calendar, Award, Droplets, MapPin, Tag, ExternalLink, Pack
import TastingNoteForm from '@/components/TastingNoteForm';
import StatusSwitcher from '@/components/StatusSwitcher';
import TastingList from '@/components/TastingList';
import DeleteBottleButton from '@/components/DeleteBottleButton';
export default async function BottlePage({ params }: { params: { id: string } }) {
const supabase = createServerComponentClient({ cookies });
@@ -103,8 +104,9 @@ export default async function BottlePage({ params }: { params: { id: string } })
</div>
</div>
<div className="pt-2">
<div className="pt-2 space-y-4">
<StatusSwitcher bottleId={bottle.id} currentStatus={bottle.status} />
<DeleteBottleButton bottleId={bottle.id} />
</div>
</div>
</section>