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

using ipc but not working in production

This commit is contained in:
Rokt33r
2015-11-24 02:54:45 +09:00
parent de3b76b31d
commit e5a2bfbcbd
6 changed files with 160 additions and 61 deletions

View File

@@ -16,11 +16,8 @@ export function searchArticle (input) {
}
}
export function refreshData () {
export function refreshData (data) {
console.log('refreshing data')
let data = JSON.parse(localStorage.getItem('local'))
if (data == null) return null
let { folders, articles } = data
return {