diff --git a/.eslintrc b/.eslintrc index 7f8fc0d..49f1729 100644 --- a/.eslintrc +++ b/.eslintrc @@ -23,7 +23,7 @@ "react/sort-comp": ["error", { "order": ["type-annotations", "static-methods", "lifecycle", "everything-else", "render"] }], - "react/jsx-no-bind": "off", + "react/prop-types": "off", "react/jsx-filename-extension": ["error", { "extensions": [".js", ".jsx"] }], "react/prefer-stateless-function": "off" }, diff --git a/app/app.html b/app/app.html index d3eb80e..5241806 100644 --- a/app/app.html +++ b/app/app.html @@ -1,20 +1,9 @@ - + Hello Electron React! -
diff --git a/app/components/Home.js b/app/components/Home.js index 94a6549..bad84f0 100644 --- a/app/components/Home.js +++ b/app/components/Home.js @@ -1,15 +1,11 @@ import React, { Component } from 'react'; -// import { Link } from 'react-router'; -import styles from './Home.css'; export default class Home extends Component { render() { return (
-
-

Home

-

...is where the heart is

-
+

Home

+

...is where the heart is

); } diff --git a/app/containers/Root.js b/app/containers/Root.js index b4fb2b8..29d8fe7 100644 --- a/app/containers/Root.js +++ b/app/containers/Root.js @@ -3,12 +3,7 @@ import { Provider } from 'react-redux'; import { Router } from 'react-router'; import routes from '../routes'; -type RootType = { - store: {}, - history: {} -}; - -export default function Root({ store, history }: RootType) { +export default function Root({ store, history }) { return (