refactor: rename getEventLocationType to getLocationByType for better clarity (#28567)
* chore: rename getEventLocationType * chore: update imports
This commit is contained in:
1 parent
761b780aa2
commit
f004349273
10 files changed
+45
-46
No files matched your search
@@ -7,7 +7,7 @@ import { z } from "zod";
|
||||
|
||||
import type { EventLocationType, LocationObject } from "@calcom/app-store/locations";
|
||||
import {
|
||||
getEventLocationType,
|
||||
getLocationByType,
|
||||
getHumanReadableLocationValue,
|
||||
getMessageForOrganizer,
|
||||
isAttendeeInputRequired,
|
||||
@@ -168,7 +168,7 @@ export const EditLocationDialog = (props: ISetLocationDialog) => {
|
||||
name: "locationAddress",
|
||||
});
|
||||
|
||||
const eventLocationType = getEventLocationType(selectedLocation);
|
||||
const eventLocationType = getLocationByType(selectedLocation);
|
||||
|
||||
const defaultLocation = defaultValues?.find(
|
||||
(location: { type: EventLocationType["type"]; address?: string }) => {
|
||||
|
||||
Reference in new issue
Block a user