diff --git a/apps/web/src/components/editor/toolbar.jsx b/apps/web/src/components/editor/toolbar.jsx index 2bb5b4329..2304e5e4b 100644 --- a/apps/web/src/components/editor/toolbar.jsx +++ b/apps/web/src/components/editor/toolbar.jsx @@ -94,8 +94,7 @@ function Toolbar() { }, [isTitleVisible]); useEffect(() => { - if (onScrollTitleRef.current) - onScrollTitleRef.current.defaultValue = title; + if (onScrollTitleRef.current) onScrollTitleRef.current.value = title; }, [title]); const tools = useMemo(