hotfix prefill undefined bug booking page (#2166)
Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>
This commit is contained in:
1 parent
c8505cd71c
commit
e21813ba96
3 files changed
+3
-3
No files matched your search
+1
-1
Submodule apps/api updated: 378cbf8f3a...63e0ca33e9.
@@ -142,7 +142,7 @@ const BookingPage = ({ eventType, booking, profile }: BookingPageProps) => {
|
||||
[LocationType.Huddle01]: "Huddle01 Video",
|
||||
[LocationType.Tandem]: "Tandem Video",
|
||||
};
|
||||
const loggedInIsOwner = eventType.users[0].name === session?.user.name;
|
||||
const loggedInIsOwner = eventType?.users[0]?.name === session?.user?.name;
|
||||
const defaultValues = () => {
|
||||
if (!rescheduleUid) {
|
||||
return {
|
||||
|
||||
+1
-1
Submodule apps/website updated: 7f0e321c33...c6c9c210a4.
Reference in new issue
Block a user