mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-23 19:49:56 +01:00
web: fix note title in toolbar not changing
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user