mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 13:48:40 +00:00
fix: init phase
This commit is contained in:
parent
63c23736ad
commit
08abec8fd5
@ -214,7 +214,7 @@ export function Repl({ embedded = false }) {
|
||||
}, []);
|
||||
|
||||
const handleDocChanged = useCallback(
|
||||
(v) => {
|
||||
({ view }) => {
|
||||
if (!init) {
|
||||
// this is only for testing! try this pattern:
|
||||
/*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user