From 6d9937c21b77225ab1a2f376484f98a7b1c6fd6d Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 19 Oct 2024 14:02:30 +0530 Subject: [PATCH] chore: lint --- src/components/molecules/SidePanelHeader.tsx | 25 ++++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/src/components/molecules/SidePanelHeader.tsx b/src/components/molecules/SidePanelHeader.tsx index 2ad13660..53030de6 100644 --- a/src/components/molecules/SidePanelHeader.tsx +++ b/src/components/molecules/SidePanelHeader.tsx @@ -16,18 +16,17 @@ interface SidePanelHeaderProps { export const SidePanelHeader: React.FC = ({ setShowOutputData }) => { - const [steppingIsDisabled, setSteppingIsDisabled] = useState(true); + const [steppingIsDisabled, setSteppingIsDisabled] = useState(true); + const { socket } = useSocketStore(); - const { socket } = useSocketStore(); + const handleStep = () => { + socket?.emit('step'); + }; - const handleStep = () => { - socket?.emit('step'); - }; - - return ( -
- setSteppingIsDisabled(!isPaused)} setShowOutputData={setShowOutputData} /> - {/* */} -
-
- ); +
+ + ); };