import React from 'react'; import { withTranslation } from '../i18n'; // import Button from '../components/Button'; import Typography from '../components/Typography'; // import Icon from '../components/Icon'; // import CreateForm from './CreateForm'; import MarkupTools from './MarkupTools'; import WatermarkTool from './WatermarkTool'; // import useActions from '../actions'; import useStore from '../store'; // import { BtnWrapper } from '../global/toolStyled'; import { SidebarWrapper } from '../global/otherStyled'; type Props = { t: (key: string) => string; } const Sidebar: React.FC = ({ t, }: Props) => { const [{ displayMode }] = useStore(); // const { setSidebar } = useActions(dispatch); // const onClick = (state: string): void => { // if (state === sidebarState) { // setSidebar(''); // } else { // setSidebar(state); // } // }; return ( {t('mainMenu')} {/* */} {/* */} ); }; export default withTranslation('sidebar')(Sidebar);