Stupid basic auth

This commit is contained in:
Daniel Cortes
2020-06-23 02:07:01 -04:00
parent 504a37545d
commit db3d0ce4d3
3 changed files with 69 additions and 23 deletions

View File

@@ -62,16 +62,8 @@ const App = () => (
);
const AppWithState = () => {
const initialState = {theme: {primary: 'green'}};
const reducer = (state, action) => {
switch (action.type) {
default: return state;
}
};
return (
<StateProvider initialState={initialState} reducer={reducer}>
<StateProvider>
<App/>
</StateProvider>
);