mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-16 14:00:56 +02:00
don't pass appState in deps as its not used
This commit is contained in:
@@ -163,7 +163,7 @@ const MermaidToExcalidraw = ({
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
renderExcalidrawPreview();
|
renderExcalidrawPreview();
|
||||||
}, [deferredText, appState]);
|
}, [deferredText]);
|
||||||
|
|
||||||
const setAppState = useExcalidrawSetAppState();
|
const setAppState = useExcalidrawSetAppState();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user