mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
11 lines
264 B
JavaScript
11 lines
264 B
JavaScript
import * as types from 'constants/action_types'
|
|
|
|
const reducers = {}
|
|
const defaultState = {
|
|
}
|
|
|
|
export default function reducer(state = defaultState, action) {
|
|
const handler = reducers[action.type];
|
|
if (handler) return handler(state, action);
|
|
return state;
|
|
}
|