1
0
mirror of https://github.com/BoostIo/Boostnote synced 2026-01-24 14:17:14 +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

@@ -1,10 +1,8 @@
import { combineReducers } from 'redux'
import { SELECT_ARTICLE, SEARCH_ARTICLE, REFRESH_DATA } from './actions'
let data = JSON.parse(localStorage.getItem('local'))
let initialArticles = data != null ? data.articles : []
let initialFolders = data != null ? data.folders : []
let initialArticles = []
let initialFolders = []
let initialStatus = {
articleKey: null,
search: ''