eval fix
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user