1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

use uuid in keygen, remove storage.key from note hash

This commit is contained in:
mirsch
2018-03-04 22:21:14 +01:00
parent 6bcb6398f8
commit 0280a5f09e
13 changed files with 50 additions and 40 deletions

View File

@@ -35,7 +35,7 @@ class NewNoteModal extends React.Component {
content: ''
})
.then((note) => {
const noteHash = `${note.storage}-${note.key}`
const noteHash = note.key
dispatch({
type: 'UPDATE_NOTE',
note: note
@@ -75,7 +75,7 @@ class NewNoteModal extends React.Component {
}]
})
.then((note) => {
const noteHash = `${note.storage}-${note.key}`
const noteHash = note.key
dispatch({
type: 'UPDATE_NOTE',
note: note