don't pass appState in deps as its not used
This commit is contained in:
parent
c95369ace8
commit
ce6a9986e3
@ -163,7 +163,7 @@ const MermaidToExcalidraw = ({
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
renderExcalidrawPreview();
|
renderExcalidrawPreview();
|
||||||
}, [deferredText, appState]);
|
}, [deferredText]);
|
||||||
|
|
||||||
const setAppState = useExcalidrawSetAppState();
|
const setAppState = useExcalidrawSetAppState();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user