From fb838f235de9aa07d629560375d96cd4aa376d0f Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Tue, 24 Dec 2024 09:42:50 -0300 Subject: [PATCH] refactor: Remove limit constants and styles from NoteNode component allowing infinity resize --- src/frontend/src/CustomNodes/NoteNode/index.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/frontend/src/CustomNodes/NoteNode/index.tsx b/src/frontend/src/CustomNodes/NoteNode/index.tsx index 0519f2214646..e3ecdee1443a 100644 --- a/src/frontend/src/CustomNodes/NoteNode/index.tsx +++ b/src/frontend/src/CustomNodes/NoteNode/index.tsx @@ -1,7 +1,5 @@ import { COLOR_OPTIONS, - NOTE_NODE_MAX_HEIGHT, - NOTE_NODE_MAX_WIDTH, NOTE_NODE_MIN_HEIGHT, NOTE_NODE_MIN_WIDTH, } from "@/constants/constants"; @@ -50,8 +48,6 @@ function NoteNode({ { const { width, height } = params; setSize({ width: width - 25, height: height - 25 }); @@ -62,8 +58,6 @@ function NoteNode({