Revert "Update menuConfig.tsx"

This reverts commit 7be28e2a76.
This commit is contained in:
Davor Hrg
2021-10-10 23:45:03 +02:00
parent 6e991b88d5
commit 04f5413b11

View File

@@ -68,16 +68,6 @@ const viewMenuConfig: EditorMenuConfig = {
label: 'View',
disabled: false,
items: [
{
label: 'Hide console',
shortcut: 'ctrl+shift+c',
shortcutLabel: 'Ctrl Shift C',
Component: (props) => {
const { config, thunkDispatch } = props
config.callback = () => thunkDispatch({ type: 'setLayout', payload:{ message:{ direction: 'row', first: 'Editor', second: 'Viewer'}}})
return <DropdownItem {...props} />
},
},
{
label: 'Reset layout',
shortcut: 'ctrl+shift+r',