don't pass appState in deps as its not used

This commit is contained in:
Aakansha Doshi 2023-09-06 19:43:02 +05:30
parent c95369ace8
commit ce6a9986e3

View File

@ -163,7 +163,7 @@ const MermaidToExcalidraw = ({
} }
}; };
renderExcalidrawPreview(); renderExcalidrawPreview();
}, [deferredText, appState]); }, [deferredText]);
const setAppState = useExcalidrawSetAppState(); const setAppState = useExcalidrawSetAppState();