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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user