strapi-plugin-config-sync/admin/src/containers/App/index.js

25 lines
514 B
JavaScript
Raw Normal View History

2021-03-19 19:04:22 +01:00
/**
*
* This component is the skeleton around the actual pages, and should only
* contain code that should be seen on all pages. (e.g. navigation bar)
*
*/
import React from 'react';
2021-03-20 00:54:18 +01:00
import { Provider } from 'react-redux';
2021-03-20 15:07:10 +01:00
import Header from '../../components/Header';
2021-03-20 00:54:18 +01:00
import { store } from "../../helpers/configureStore";
import ConfigPage from '../ConfigPage';
2021-03-19 19:04:22 +01:00
const App = () => {
return (
2021-03-20 00:54:18 +01:00
<Provider store={store}>
2021-10-14 17:13:12 +02:00
<Header />
<ConfigPage />
2021-03-20 00:54:18 +01:00
</Provider>
2021-03-19 19:04:22 +01:00
);
};
export default App;