We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b175c45 commit f85175bCopy full SHA for f85175b
src/lib/Tree.ts
@@ -88,7 +88,7 @@ export class Bookmark<L extends TItemLocation> {
88
if (!this.hashValue) {
89
this.hashValue = {}
90
}
91
- if (typeof this.hashValue[hashFn] !== 'undefined') {
+ if (typeof this.hashValue[hashFn] === 'undefined') {
92
const json = JSON.stringify({ title: this.title, url: this.url })
93
if (hashFn === 'sha256') {
94
this.hashValue[hashFn] = await Crypto.sha256(json)
0 commit comments