fix(docs): remove duplicate useDocumentSync call

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
David Langley 2026-03-04 14:10:49 +00:00
parent 99f2c2e063
commit a906d3826b

View File

@ -238,8 +238,6 @@ export const DocumentView = memo(function DocumentView({ room }: DocumentViewPro
// cursor appears even after the element receives focus.
useSetCursorPosition(!isWysiwygReady, ref);
const { isLoaded, scheduleDeltaSend } = useDocumentSync(room, client, composerModel, ref);
// Track whether the editor has content so we can hide the placeholder.
const [hasContent, setHasContent] = useState(false);