1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 10:16:26 +00:00
Files
Boostnote/browser/main/HomeContainer/reducer.js
2015-10-08 20:40:19 +09:00

16 lines
282 B
JavaScript

import {combineReducers} from 'redux'
const initialCurrentUser = JSON.parse(localStorage.getItem('currentUser'))
function currentUser (state, action) {
switch (action.type) {
default:
return initialCurrentUser
}
}
export default combineReducers({
currentUser
})