// eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-nocheck import React, { useState } from 'react'; import { VscRunAll } from 'react-icons/vsc'; import { IconContext } from 'react-icons'; import {ACTIONS_IDS} from "../../Editor/constants"; function SideBar({ EditorState, dispatch }): JSX.Element { async function VisualizeScenario() { console.log(dispatch); dispatch({ type: ACTIONS_IDS.checkScenarioSyntax }); } const [RunIconStyle, SetRunStyle] = useState({ color: 'white', }); function onEnterButton() { SetRunStyle({ ...RunIconStyle, color: 'yellow' }); } function onExitButton() { SetRunStyle({ ...RunIconStyle, color: 'white' }); } return ( <>