add payment, trust badge, handle race condition, fix booking schema
This commit is contained in:
+12
-2
@@ -173,8 +173,18 @@ export default async function ProfilePage() {
|
||||
date={t.date}
|
||||
endDate={t.endDate}
|
||||
rightSlot={
|
||||
<span className="text-neutral-400">
|
||||
{p.status === "CONFIRMED" ? "Terdaftar" : p.status}
|
||||
<span
|
||||
className={
|
||||
p.status === "PENDING"
|
||||
? "font-medium text-amber-700"
|
||||
: "text-neutral-400"
|
||||
}
|
||||
>
|
||||
{p.status === "CONFIRMED"
|
||||
? "Terkonfirmasi"
|
||||
: p.status === "PENDING"
|
||||
? "Menunggu organizer"
|
||||
: p.status}
|
||||
</span>
|
||||
}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user