From 3c91c188a4667e15486e18c909f615f8eebaf8bb Mon Sep 17 00:00:00 2001 From: codetorso Date: Thu, 25 Jul 2024 21:51:58 +0530 Subject: [PATCH] fix error on drop --- .../canvas/custom_nodes/textcard.tsx | 19 ++---- apps/web/lib/ExternalDroppedContent.ts | 58 +++++++------------ 2 files changed, 26 insertions(+), 51 deletions(-) diff --git a/apps/web/components/canvas/custom_nodes/textcard.tsx b/apps/web/components/canvas/custom_nodes/textcard.tsx index e778eabb..db881fb4 100644 --- a/apps/web/components/canvas/custom_nodes/textcard.tsx +++ b/apps/web/components/canvas/custom_nodes/textcard.tsx @@ -31,24 +31,13 @@ export class textCardUtil extends BaseBoxShapeUtil { return (
-

{s.props.type}

+

{s.props.type}

{isEditing ? (