From 08abec8fd5f65bb995d1b04b8670676f20550c9e Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Sun, 2 Jul 2023 18:37:56 +0200 Subject: [PATCH] fix: init phase --- website/src/repl/Repl.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/repl/Repl.jsx b/website/src/repl/Repl.jsx index 84babdef..e22e0421 100644 --- a/website/src/repl/Repl.jsx +++ b/website/src/repl/Repl.jsx @@ -214,7 +214,7 @@ export function Repl({ embedded = false }) { }, []); const handleDocChanged = useCallback( - (v) => { + ({ view }) => { if (!init) { // this is only for testing! try this pattern: /*