chore(client): Move client app to /client

This commit is contained in:
Bouncey
2018-08-31 12:52:49 +01:00
committed by mrugesh mohapatra
parent 0e4f588a1c
commit e59ad6ebda
172 changed files with 13171 additions and 14 deletions

15
client/gatsby-ssr.js Normal file
View File

@ -0,0 +1,15 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Provider } from 'react-redux';
import { createStore } from './src/redux/createStore';
const store = createStore();
export const wrapRootElement = ({ element }) => {
return <Provider store={store}>{element}</Provider>;
};
wrapRootElement.propTypes = {
element: PropTypes.any
};