From 2e6f47069f3cc9774380328b3b8c1a369c0ba85f Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 22 Jun 2024 20:01:06 +0530 Subject: [PATCH] chore: lint --- .../molecules/action-settings/clickOnCoordinates.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/molecules/action-settings/clickOnCoordinates.tsx b/src/components/molecules/action-settings/clickOnCoordinates.tsx index 351e4297..c68a53b0 100644 --- a/src/components/molecules/action-settings/clickOnCoordinates.tsx +++ b/src/components/molecules/action-settings/clickOnCoordinates.tsx @@ -4,7 +4,7 @@ import { WarningText } from '../../atoms/texts'; import InfoIcon from "@mui/icons-material/Info"; export const ClickOnCoordinatesSettings = forwardRef((props, ref) => { - const [settings, setSettings] = React.useState([0,0]); + const [settings, setSettings] = React.useState([0, 0]); useImperativeHandle(ref, () => ({ getSettings() { return settings; @@ -14,7 +14,7 @@ export const ClickOnCoordinatesSettings = forwardRef((props, ref) => { return ( setSettings(prevState => ([Number(e.target.value), prevState[1]]))} @@ -22,7 +22,7 @@ export const ClickOnCoordinatesSettings = forwardRef((props, ref) => { defaultValue={settings[0]} /> setSettings(prevState => ([prevState[0], Number(e.target.value)]))} @@ -30,7 +30,7 @@ export const ClickOnCoordinatesSettings = forwardRef((props, ref) => { defaultValue={settings[1]} /> - + The click function will click on the given coordinates. You need to put the coordinates by yourself.