From 846ea56eebc43faa9d687acfc242197402243543 Mon Sep 17 00:00:00 2001 From: Thomas L Fagermyr Date: Thu, 24 Oct 2024 15:28:27 +0200 Subject: [PATCH 1/2] chore: Fixed typo --- src/components/AreaCoordinates/AreaCoordinates.tsx | 4 ++-- src/components/ConfirmDialog/ConfirmDialog.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/AreaCoordinates/AreaCoordinates.tsx b/src/components/AreaCoordinates/AreaCoordinates.tsx index 61cf83f0..0c2808f3 100644 --- a/src/components/AreaCoordinates/AreaCoordinates.tsx +++ b/src/components/AreaCoordinates/AreaCoordinates.tsx @@ -259,7 +259,7 @@ export const AreaCoordinates = ({ setEdit(!edit); }; - const handleCancleEdit = () => { + const handleCancelEdit = () => { fallbackAreaCoordinate && setAreaCoordinate(cloneDeep(fallbackAreaCoordinate)); @@ -352,7 +352,7 @@ export const AreaCoordinates = ({ {edit ? ( <> - diff --git a/src/components/ConfirmDialog/ConfirmDialog.tsx b/src/components/ConfirmDialog/ConfirmDialog.tsx index 6b004e9b..3e81fe67 100644 --- a/src/components/ConfirmDialog/ConfirmDialog.tsx +++ b/src/components/ConfirmDialog/ConfirmDialog.tsx @@ -25,7 +25,7 @@ export const ConfirmDialog = ({ color={danger ? 'danger' : undefined} onClick={() => setIsOpen(false)} > - {'Cancle'} + {'Cancel'}