Skip to content

Commit

Permalink
fix(app): removed redux from being included
Browse files Browse the repository at this point in the history
  • Loading branch information
jnmorse committed Jul 10, 2019
1 parent da809e3 commit ae85818
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 180 deletions.
128 changes: 0 additions & 128 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@
"react-dom": "^16.8.6",
"react-helmet": "^5.2.1",
"react-hot-loader": "^4.12.5",
"react-redux": "^7.1.0",
"react-router-dom": "^5.0.1",
"redux": "^4.0.3",
"redux-thunk": "^2.3.0"
"react-redux": "^7.1.0"
},
"devDependencies": {
"@babel/core": "^7.5.4",
Expand Down
29 changes: 0 additions & 29 deletions src/client/App.jsx

This file was deleted.

Empty file removed src/client/actions/index.js
Empty file.
Empty file removed src/client/actions/types.js
Empty file.
18 changes: 18 additions & 0 deletions src/client/components/app.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import React from 'react';

import Layout from './Layout';
import SiteHeader from './SiteHeader';

export const App = () => (
<Layout>
<SiteHeader />

<div className="row">
<p>
{
"Time to write some code, and chew bubblegum. Only I'm all out of gum."
}
</p>
</div>
</Layout>
);
11 changes: 0 additions & 11 deletions src/client/configure-store.js

This file was deleted.

File renamed without changes.
4 changes: 3 additions & 1 deletion src/client/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import React from 'react';
import ReactDOM from 'react-dom';
import { hot } from 'react-hot-loader/root';

import { App } from './App';
import { App } from './components/app';

import './index.css';

const HotApp = hot(App);

Expand Down
7 changes: 0 additions & 7 deletions src/client/reducers/index.js

This file was deleted.

0 comments on commit ae85818

Please sign in to comment.