This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default function createReducer(initialState, actions) { | |
return function reducer(state = initialState, action) { | |
const actionReducer = actions[action.type]; | |
if (!actionReducer) { | |
return state; | |
} | |
return actionReducer(state, action); | |
}; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is a different extension so we don't include it within our style.css when extracting CSS, instead we require it only if the browser is IE/edge | |
:global { | |
body { | |
background: red; | |
} | |
#RestoNGo-App, #RestoNGo-App * { | |
align-content: normal; | |
align-items: normal; | |
align-self: normal; |