You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
644 B

// ------------------------------------
// Constants
// ------------------------------------
// ------------------------------------
// Action Handlers
// ------------------------------------
const ACTION_HANDLERS = {
}
// ------------------------------------
// Reducer
// ------------------------------------
const initialState = {
onboarded: false,
step: 1,
alias: ''
}
// ------------------------------------
// Reducer
// ------------------------------------
export default function lndReducer(state = initialState, action) {
const handler = ACTION_HANDLERS[action.type]
return handler ? handler(state, action) : state
}