diff --git a/plugins/circleci/src/components/Store/Store.tsx b/plugins/circleci/src/components/Store/Store.tsx index b086fe38b1..6ce6ee5a4a 100644 --- a/plugins/circleci/src/components/Store/Store.tsx +++ b/plugins/circleci/src/components/Store/Store.tsx @@ -14,20 +14,8 @@ * limitations under the License. */ import React, { FC, useReducer, Dispatch } from 'react'; -// import { Provider, useDispatch } from 'react-redux'; - -// import store from '../../state/store'; import { circleCIApiRef } from '../../api'; -// const RehydrateSettings = () => { -// const dispatch: Dispatch = useDispatch(); - -// React.useEffect(() => { -// dispatch.settings.rehydrate(); -// }, []); -// return null; -// }; - export const SettingsContext = React.createContext< [RootState, Dispatch] >([] as any); @@ -77,12 +65,7 @@ export const Store: FC = ({ children }) => { const [state, dispatch] = useReducer(reducer, initialState); return ( - {/* */} -
- {/* */} - {children} -
- {/*
*/} +
{children}
); };