fix: trailing space getting trimmed in title box

This commit is contained in:
thecodrr
2020-11-20 22:31:31 +05:00
parent 9f6d770b85
commit 7882ee2957
2 changed files with 2 additions and 3 deletions

View File

@@ -27,7 +27,6 @@ function TitleBox(props) {
}, []);
useEffect(() => {
console.log("title changged", title);
if (!inputRef.current) return;
clearTimeout(changeTimeout);
inputRef.current.value = title;

View File

@@ -8953,8 +8953,8 @@ normalize-url@^3.0.0, normalize-url@^3.0.1:
integrity sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg==
"notes-core@git+ssh://git@github.com:streetwriters/notesnook-core.git":
version "2.3.3"
resolved "git+ssh://git@github.com:streetwriters/notesnook-core.git#3b9eb3fad825edf1ba31152c92646ee1d37b6b71"
version "2.3.4"
resolved "git+ssh://git@github.com:streetwriters/notesnook-core.git#50544909402aeb71895eba66c0fe49b3fb6f46fc"
dependencies:
fast-sort "^2.0.1"
fuzzysearch "^1.0.3"