1
0
Fork 0

chore(shared): Linter issues

This commit is contained in:
Joost De Cock 2023-09-10 11:08:31 +02:00
parent 92150932ca
commit 0eeffaf89d
4 changed files with 19 additions and 25 deletions

View file

@ -1,6 +1,5 @@
import { PanZoomContextProvider } from 'shared/components/workbench/pattern/pan-zoom-context.mjs'
import { MenuWrapper } from 'shared/components/workbench/menus/shared/menu-wrapper.mjs'
import { Flags } from './flags.mjs'
export const ns = ['common', 'core-settings', 'ui-settings']
@ -17,7 +16,6 @@ export const PatternWithMenu = ({
menu,
setSettings,
Header = false,
flags = false,
}) => (
<PanZoomContextProvider>
<div className="flex flex-col h-full">
@ -34,7 +32,6 @@ export const PatternWithMenu = ({
}}
/>
) : null}
{flags ? <Flags {...{ update, control, flags }} /> : null}
<div className="flex lg:flex-row grow lg:max-h-[90vh] max-h-[calc(100vh-3rem)] h-full py-4 lg:mt-6">
<div className="lg:w-2/3 flex flex-col h-full grow px-4">
{title}