From 327a38a5523a3a24f840c9b51d15560d1a73835c Mon Sep 17 00:00:00 2001 From: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com> Date: Mon, 20 Dec 2021 17:31:38 -0600 Subject: [PATCH] Fix capitalization in media editor variable name --- ts/components/MediaEditor.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/components/MediaEditor.tsx b/ts/components/MediaEditor.tsx index ac762762b9c..e6ca9027f70 100644 --- a/ts/components/MediaEditor.tsx +++ b/ts/components/MediaEditor.tsx @@ -362,7 +362,7 @@ export const MediaEditor = ({ const [canRedo, setCanRedo] = useState(false); const [canUndo, setCanUndo] = useState(false); const [canCrop, setCanCrop] = useState(false); - const [cropAspectRatioLock, setcropAspectRatioLock] = useState(false); + const [cropAspectRatioLock, setCropAspectRatioLock] = useState(false); const [drawTool, setDrawTool] = useState(DrawTool.Pen); const [drawWidth, setDrawWidth] = useState(DrawWidth.Regular); const [editMode, setEditMode] = useState(); @@ -846,7 +846,7 @@ export const MediaEditor = ({ if (fabricCanvas) { fabricCanvas.uniformScaling = !cropAspectRatioLock; } - setcropAspectRatioLock(!cropAspectRatioLock); + setCropAspectRatioLock(!cropAspectRatioLock); }} type="button" />