From c4bf4586acb1e89a875859f0e870a1225117790d Mon Sep 17 00:00:00 2001 From: Eric Nguyen Date: Tue, 14 Feb 2023 15:00:18 +0000 Subject: [PATCH] Remove unused configuration from Menu --- src/Components/Editor/Editor.tsx | 1 - src/Components/Menu/Menu.tsx | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/Components/Editor/Editor.tsx b/src/Components/Editor/Editor.tsx index 70f2350..14fd26b 100644 --- a/src/Components/Editor/Editor.tsx +++ b/src/Components/Editor/Editor.tsx @@ -214,7 +214,6 @@ export function Editor(props: IEditorProps): JSX.Element { /> editorRef.current} - configuration={configuration} actions={menuActions} className="z-30 transition-opacity rounded bg-slate-200 drop-shadow-xl" /> diff --git a/src/Components/Menu/Menu.tsx b/src/Components/Menu/Menu.tsx index c8da101..57c3445 100644 --- a/src/Components/Menu/Menu.tsx +++ b/src/Components/Menu/Menu.tsx @@ -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 className?: string - configuration: IConfiguration } export interface IMenuAction {