mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
add initialization modal & migration func
This commit is contained in:
@@ -44,10 +44,7 @@ function notes (state = [], action) {
|
||||
return action.notes
|
||||
case 'ADD_STORAGE':
|
||||
{
|
||||
let notes = state.slice()
|
||||
|
||||
notes.concat(action.notes)
|
||||
|
||||
let notes = state.concat(action.notes)
|
||||
return notes
|
||||
}
|
||||
case 'REMOVE_STORAGE':
|
||||
|
||||
Reference in New Issue
Block a user