fix: [object object] problem (#24643)
* fix: object problem * revert and improve logic * revert * fix * Update apps/web/modules/bookings/views/bookings-single-view.tsx Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> --------- Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> Co-authored-by: Pallav <[email protected]>
This commit is contained in:
3 files changed
+3
-3
No files matched your search
@@ -62,7 +62,7 @@ export default function Bookings(props: { calUsername: string; calEmail: string
|
||||
<h4>What</h4>
|
||||
</div>
|
||||
<div>
|
||||
<p>{booking.title}</p>
|
||||
<p>{typeof booking.title === 'string' ? booking.title : 'Untitled Event'}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex gap-[70px]">
|
||||
|
||||
Reference in new issue
Block a user