Skip to content

Commit

Permalink
Update ListingForm.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
DinerIsmail committed Nov 11, 2024
1 parent 98c9539 commit db18d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/admin/listing-form/ListingForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ const ListingForm = ({ categories, listing, handleSubmit }: Props) => {
slug: listing?.slug || '',
tags: initialTagsValues || [],
relations: initialRelationsValues || [],
noPhysicalLocation: listing?.location.noPhysicalLocation || false,
noPhysicalLocation: listing?.location?.noPhysicalLocation || false,
location:
listing?.location?.latitude && listing?.location?.longitude
? {
Expand Down

0 comments on commit db18d8f

Please sign in to comment.