fix: init phase

This commit is contained in:
Felix Roos 2023-07-02 18:37:56 +02:00
parent 63c23736ad
commit 08abec8fd5

View File

@ -214,7 +214,7 @@ export function Repl({ embedded = false }) {
}, []);
const handleDocChanged = useCallback(
(v) => {
({ view }) => {
if (!init) {
// this is only for testing! try this pattern:
/*