import React, { FC, useState } from 'react'; import { InterpretationButtons } from "./InterpretationButtons"; import { useSocketStore } from "../../context/socket"; export const SidePanelHeader = () => { const [steppingIsDisabled, setSteppingIsDisabled] = useState(true); const { socket } = useSocketStore(); const handleStep = () => { socket?.emit('step'); }; return (