From e82bcb6dba62918b3809c971182f66030e833065 Mon Sep 17 00:00:00 2001 From: noobyogi0010 <55592987+noobyogi0010@users.noreply.github.com> Date: Fri, 22 Jul 2022 21:34:40 +0530 Subject: [PATCH] fixes #3336 - Avatar on New Event Type (#3465) Co-authored-by: Bailey Pumfleet Co-authored-by: Peer Richelsen --- apps/web/components/eventtype/CreateEventType.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web/components/eventtype/CreateEventType.tsx b/apps/web/components/eventtype/CreateEventType.tsx index 10e18bb587..6685879ce4 100644 --- a/apps/web/components/eventtype/CreateEventType.tsx +++ b/apps/web/components/eventtype/CreateEventType.tsx @@ -6,6 +6,7 @@ import { useEffect } from "react"; import { useForm } from "react-hook-form"; import type { z } from "zod"; +import { WEBAPP_URL } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import showToast from "@calcom/lib/notification"; import { createEventTypeInput } from "@calcom/prisma/zod/custom/eventtype"; @@ -164,7 +165,7 @@ export default function CreateEventTypeButton(props: Props) { onSelect={() => openModal(option)}>