mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-03 12:41:45 +02:00
chore: update notesnook-core
This commit is contained in:
@@ -27,8 +27,8 @@
|
||||
"zustand": "^2.2.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-loader": "8.1.0",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"babel-loader": "8.1.0",
|
||||
"eslint": "^6.8.0",
|
||||
"eslint-config-react-app": "^5.2.1",
|
||||
"eslint-plugin-import": "^2.20.2",
|
||||
|
||||
@@ -162,7 +162,8 @@ function Note(props) {
|
||||
export default React.memo(Note, function (prevProps, nextProps) {
|
||||
const prevItem = prevProps.item;
|
||||
const nextItem = nextProps.item;
|
||||
// TODO need to investigate why a crash happens here.
|
||||
|
||||
// do not update if the item was removed
|
||||
if (!prevItem || !nextItem) return true;
|
||||
return (
|
||||
prevItem.pinned === nextItem.pinned &&
|
||||
|
||||
@@ -7291,9 +7291,9 @@ normalize-url@^3.0.0, normalize-url@^3.0.1:
|
||||
resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-3.3.0.tgz#b2e1c4dc4f7c6d57743df733a4f5978d18650559"
|
||||
integrity sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg==
|
||||
|
||||
"notes-core@https://github.com/streetwriters/notesnook-core.git":
|
||||
"notes-core@git+ssh://git@github.com:streetwriters/notesnook-core.git":
|
||||
version "1.3.0"
|
||||
resolved "https://github.com/streetwriters/notesnook-core.git#ed5ead55bed5ff5ec976ed46dc517854b407aff7"
|
||||
resolved "git+ssh://git@github.com:streetwriters/notesnook-core.git#f1d3ccc200f76208b072414c1dc61f2bc3f148a9"
|
||||
dependencies:
|
||||
fast-sort "^2.0.1"
|
||||
fuzzysearch "^1.0.3"
|
||||
|
||||
Reference in New Issue
Block a user