From ce6a9986e30a3bb95e4040dc6fcc89a96e89cb93 Mon Sep 17 00:00:00 2001 From: Aakansha Doshi Date: Wed, 6 Sep 2023 19:43:02 +0530 Subject: [PATCH] don't pass appState in deps as its not used --- src/components/MermaidToExcalidraw.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MermaidToExcalidraw.tsx b/src/components/MermaidToExcalidraw.tsx index 7b6b2540e..bd42c15f0 100644 --- a/src/components/MermaidToExcalidraw.tsx +++ b/src/components/MermaidToExcalidraw.tsx @@ -163,7 +163,7 @@ const MermaidToExcalidraw = ({ } }; renderExcalidrawPreview(); - }, [deferredText, appState]); + }, [deferredText]); const setAppState = useExcalidrawSetAppState();