chore: lint
This commit is contained in:
@@ -16,18 +16,17 @@ interface SidePanelHeaderProps {
|
|||||||
|
|
||||||
export const SidePanelHeader: React.FC<SidePanelHeaderProps> = ({ setShowOutputData }) => {
|
export const SidePanelHeader: React.FC<SidePanelHeaderProps> = ({ setShowOutputData }) => {
|
||||||
|
|
||||||
const [steppingIsDisabled, setSteppingIsDisabled] = useState(true);
|
const [steppingIsDisabled, setSteppingIsDisabled] = useState(true);
|
||||||
|
const { socket } = useSocketStore();
|
||||||
|
|
||||||
const { socket } = useSocketStore();
|
const handleStep = () => {
|
||||||
|
socket?.emit('step');
|
||||||
|
};
|
||||||
|
|
||||||
const handleStep = () => {
|
return (
|
||||||
socket?.emit('step');
|
<div style={{ width: 'inherit' }}>
|
||||||
};
|
<InterpretationButtons enableStepping={(isPaused) => setSteppingIsDisabled(!isPaused)} setShowOutputData={setShowOutputData} />
|
||||||
|
{/* <Button
|
||||||
return (
|
|
||||||
<div style={{width: 'inherit'}}>
|
|
||||||
<InterpretationButtons enableStepping={(isPaused) => setSteppingIsDisabled(!isPaused)} setShowOutputData={setShowOutputData} />
|
|
||||||
{/* <Button
|
|
||||||
variant='outlined'
|
variant='outlined'
|
||||||
disabled={steppingIsDisabled}
|
disabled={steppingIsDisabled}
|
||||||
onClick={handleStep}
|
onClick={handleStep}
|
||||||
@@ -36,7 +35,7 @@ export const SidePanelHeader: React.FC<SidePanelHeaderProps> = ({ setShowOutputD
|
|||||||
step
|
step
|
||||||
<FastForward/>
|
<FastForward/>
|
||||||
</Button> */}
|
</Button> */}
|
||||||
<hr/>
|
<hr />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user