diff --git a/src/components/flow/index.js b/src/components/flow/index.js index 1af8c7d5..e9e2257d 100644 --- a/src/components/flow/index.js +++ b/src/components/flow/index.js @@ -43,7 +43,7 @@ const Flow = ({ useEffect(() => { const { nerdStorageWriteDocument: { document } = {} } = - flowWriter.data || {}; + flowWriter?.data || {}; if (document) onUpdate(document); }, [flowWriter.data]);