Remove unused configuration from Menu

This commit is contained in:
Eric Nguyen 2023-02-14 15:00:18 +00:00
parent 01059aa2f7
commit c4bf4586ac
2 changed files with 0 additions and 3 deletions

View file

@ -214,7 +214,6 @@ export function Editor(props: IEditorProps): JSX.Element {
/>
<Menu
getListener={() => editorRef.current}
configuration={configuration}
actions={menuActions}
className="z-30 transition-opacity rounded bg-slate-200 drop-shadow-xl"
/>

View file

@ -2,13 +2,11 @@ import useSize from '@react-hook/size';
import * as React from 'react';
import { IPoint } from '../../Interfaces/IPoint';
import { MenuItem } from './MenuItem';
import { IConfiguration } from '../../Interfaces/IConfiguration';
interface IMenuProps {
getListener: () => HTMLElement | null
actions: Map<string, IMenuAction[]>
className?: string
configuration: IConfiguration
}
export interface IMenuAction {