UNPKG

@bigfishtv/cockpit

Version:

26 lines (20 loc) 460 B
"use strict"; exports.__esModule = true; exports.default = function () { var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState; var action = arguments[1]; return state; }; /** * @module Reducers/route */ var initialState = { component: null, props: {} /** * Reducer for updating the current route * @param {Object} state * @param {String} action * @return {Object} returns state */ };