diff --git a/src/components/molecules/SidePanelHeader.tsx b/src/components/molecules/SidePanelHeader.tsx index 53030de6..ad98d184 100644 --- a/src/components/molecules/SidePanelHeader.tsx +++ b/src/components/molecules/SidePanelHeader.tsx @@ -10,13 +10,10 @@ import { FastForward } from "@mui/icons-material"; import { useSocketStore } from "../../context/socket"; import { useGlobalInfoStore } from "../../context/globalInfo"; -interface SidePanelHeaderProps { - setShowOutputData: (show: boolean) => void; -} - -export const SidePanelHeader: React.FC = ({ setShowOutputData }) => { +export const SidePanelHeader = () => { const [steppingIsDisabled, setSteppingIsDisabled] = useState(true); + const { socket } = useSocketStore(); const handleStep = () => { @@ -25,7 +22,7 @@ export const SidePanelHeader: React.FC = ({ setShowOutputD return (
- setSteppingIsDisabled(!isPaused)} setShowOutputData={setShowOutputData} /> + setSteppingIsDisabled(!isPaused)} /> {/*