(keyPath: string[], value: any)
| 31 | } |
| 32 | |
| 33 | export function update(keyPath: string[], value: any): StoredState { |
| 34 | state = Immutable.fromJS(state).setIn(keyPath, value).toJS() as StoredState |
| 35 | window.localStorage.setItem('learnapollo_state', JSON.stringify(state)) |
| 36 | return state |
| 37 | } |
no outgoing calls
no test coverage detected