From 7c12c89cc244c9c257b273b5089afb317fdd7cda Mon Sep 17 00:00:00 2001 From: Ashesh3 <3626859+Ashesh3@users.noreply.github.com> Date: Tue, 6 Feb 2024 23:01:55 +0530 Subject: [PATCH] revert: replicate changes in cover image --- src/Components/Facility/CoverImageEditModal.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Components/Facility/CoverImageEditModal.tsx b/src/Components/Facility/CoverImageEditModal.tsx index 4edc389f794..8de463ad9b5 100644 --- a/src/Components/Facility/CoverImageEditModal.tsx +++ b/src/Components/Facility/CoverImageEditModal.tsx @@ -47,8 +47,8 @@ const CoverImageEditModal = ({ const FACING_MODE_ENVIRONMENT = { exact: "environment" }; const [facingMode, setFacingMode] = useState(FACING_MODE_USER); const videoConstraints = { - width: { ideal: 4096 }, - height: { ideal: 2160 }, + width: 1280, + height: 720, facingMode: "user", }; const { width } = useWindowDimensions(); @@ -315,11 +315,11 @@ const CoverImageEditModal = ({ <> ) : (