From 80a1458538494d4ef42df207120a94d36b87b593 Mon Sep 17 00:00:00 2001 From: Mithun Prabhu <68776547+fancymithun@users.noreply.github.com> Date: Mon, 24 Jul 2023 15:43:58 +0530 Subject: [PATCH] fix: Update ImageUploader.tsx (#10319) Co-authored-by: Udit Takkar Co-authored-by: Peer Richelsen --- packages/ui/components/image-uploader/ImageUploader.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/ui/components/image-uploader/ImageUploader.tsx b/packages/ui/components/image-uploader/ImageUploader.tsx index fcc7721a4c..82918e8e80 100644 --- a/packages/ui/components/image-uploader/ImageUploader.tsx +++ b/packages/ui/components/image-uploader/ImageUploader.tsx @@ -5,7 +5,7 @@ import Cropper from "react-easy-crop"; import { useLocale } from "@calcom/lib/hooks/useLocale"; -import { Button, Dialog, DialogClose, DialogContent, DialogTrigger } from "../.."; +import { Button, Dialog, DialogClose, DialogContent, DialogTrigger, DialogFooter } from "../.."; import { showToast } from "../toast"; type ReadAsMethod = "readAsText" | "readAsDataURL" | "readAsArrayBuffer" | "readAsBinaryString"; @@ -210,12 +210,12 @@ export default function ImageUploader({ -
+ showCroppedImage(croppedAreaPixels)}> {t("save")} {t("cancel")} -
+ );