Stupid basic auth
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user