From b72515a83bebd6ada14b6d1632984b7be4ee4c59 Mon Sep 17 00:00:00 2001 From: Aakansha Doshi Date: Thu, 25 May 2023 14:20:14 +0530 Subject: [PATCH] fix lint --- src/element/textElement.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/element/textElement.ts b/src/element/textElement.ts index 6e76c1f7d0..c27054e015 100644 --- a/src/element/textElement.ts +++ b/src/element/textElement.ts @@ -1,8 +1,6 @@ import { getFontString, arrayToMap, isTestEnv } from "../utils"; import { ExcalidrawElement, - ExcalidrawGenericElement, - ExcalidrawLinearElement, ExcalidrawTextContainer, ExcalidrawTextElement, ExcalidrawTextElementWithContainer, @@ -22,7 +20,7 @@ import { } from "../constants"; import { MaybeTransformHandleType } from "./transformHandles"; import Scene from "../scene/Scene"; -import { isTextElement, newElement, newTextElement } from "."; +import { isTextElement } from "."; import { isBoundToContainer, isArrowElement } from "./typeChecks"; import { LinearElementEditor } from "./linearElementEditor"; import { AppState } from "../types"; @@ -34,8 +32,7 @@ import { resetOriginalContainerCache, updateOriginalContainerCache, } from "./textWysiwyg"; -import { ExtractSetType, MarkOptional } from "../utility-types"; -import { ElementConstructorOpts, newLinearElement } from "./newElement"; +import { ExtractSetType } from "../utility-types"; export const normalizeText = (text: string) => { return (