blob: 401be435d3eb69d468857eff15056a5ae9cb0926 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { SET_ACCESS_TOKEN } from '../actions/meta';
import Immutable from 'immutable';
const initialState = Immutable.Map();
export default function meta(state = initialState, action) {
switch(action.type) {
case SET_ACCESS_TOKEN:
return state.set('access_token', action.token);
default:
return state;
}
}
|