diff --git a/src/Components/Editor/ContainerOperations.ts b/src/Components/Editor/ContainerOperations.ts index e59ab70..cbc0a9c 100644 --- a/src/Components/Editor/ContainerOperations.ts +++ b/src/Components/Editor/ContainerOperations.ts @@ -6,7 +6,6 @@ import { findContainerById } from '../../utils/itertools'; import { getCurrentHistory } from './Editor'; import { SizePointer } from '../../Interfaces/SizePointer'; import Properties from '../../Interfaces/Properties'; -import { MinusCircleIcon } from '@heroicons/react/outline'; /** * Select a container diff --git a/src/Components/Editor/Save.ts b/src/Components/Editor/Save.ts index 91cee2f..3aa201a 100644 --- a/src/Components/Editor/Save.ts +++ b/src/Components/Editor/Save.ts @@ -1,4 +1,4 @@ -import { HistoryState } from "../../Interfaces/HistoryState"; +import { HistoryState } from '../../Interfaces/HistoryState'; import { Configuration } from '../../Interfaces/Configuration'; import { getCircularReplacer } from '../../utils/saveload'; import { ID } from '../SVG/SVG'; diff --git a/src/Components/ElementsSidebar/ElementsSidebar.tsx b/src/Components/ElementsSidebar/ElementsSidebar.tsx index c0a89c6..e9d5e59 100644 --- a/src/Components/ElementsSidebar/ElementsSidebar.tsx +++ b/src/Components/ElementsSidebar/ElementsSidebar.tsx @@ -9,7 +9,6 @@ import { MenuItem } from '../Menu/MenuItem'; import { handleDragLeave, handleDragOver, handleLeftClick, handleOnDrop, handleRightClick } from './MouseEventHandlers'; import { Point } from '../../Interfaces/Point'; - interface IElementsSidebarProps { MainContainer: IContainerModel isOpen: boolean @@ -108,7 +107,7 @@ export const ElementsSidebar: React.FC = (props: IElement onLeftClick ); }; - }, []); + }); // Render let isOpenClasses = '-right-64'; diff --git a/src/Components/SVG/Elements/Container.tsx b/src/Components/SVG/Elements/Container.tsx index 45c0cb8..25a45c9 100644 --- a/src/Components/SVG/Elements/Container.tsx +++ b/src/Components/SVG/Elements/Container.tsx @@ -1,4 +1,3 @@ -import { transform } from 'framer-motion'; import * as React from 'react'; import { XPositionReference } from '../../../Enums/XPositionReference'; import { IContainerModel } from '../../../Interfaces/ContainerModel'; diff --git a/src/Components/SVG/Elements/Dimension.tsx b/src/Components/SVG/Elements/Dimension.tsx index d094a42..08f0a22 100644 --- a/src/Components/SVG/Elements/Dimension.tsx +++ b/src/Components/SVG/Elements/Dimension.tsx @@ -83,4 +83,3 @@ export const Dimension: React.FC = (props: IDimensionProps) => ); }; -