From 061ffc60ac8535bc22e3216b1a9b8e921846f1b0 Mon Sep 17 00:00:00 2001 From: Nikita Nek Dudnik Date: Wed, 13 May 2020 09:14:34 +0200 Subject: [PATCH] Clean up comments --- .../circleci/src/components/Store/Store.tsx | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) 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}
); };