1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 00:00:00 +00:00

fix tldraw editor bug

This commit is contained in:
杨顺强
2025-02-17 17:04:14 +08:00
parent 1cb4e37207
commit cdd059fdb9

View File

@@ -79,7 +79,7 @@ const TldrawEditor = () => {
return (
<SimpleEditor
isFetching={isFetching}
document={fileContent}
document={fileContent || { document: null }}
onContentChanged={onContentChanged}
onSave={onSave}
/>