diff --git a/package.json b/package.json
index 588d794..b5015e4 100644
--- a/package.json
+++ b/package.json
@@ -28,6 +28,7 @@
"redux": "^3.6.0",
"redux-thunk": "2.2.0",
"smoothscroll": "0.3.0",
+ "smoothscroll-polyfill": "^0.3.5",
"subscriptions-transport-ws": "0.5.5",
"webpack": "2.4.1",
"whatwg-fetch": "^1.0.0"
diff --git a/src/app.js b/src/app.js
index 8c9cd75..e4273a0 100644
--- a/src/app.js
+++ b/src/app.js
@@ -24,18 +24,22 @@ const store = compose(
const auth = new Authorisation()
-class HandsUpAppWrapper extends React.Component {
- render() {
- return (
-
- )
- }
-}
+// functional component: https://facebook.github.io/react/docs/components-and-props.html#functional-and-class-components
+const HandsUpAppWrapper = () =>
+// class HandsUpAppWrapper extends React.Component {
+// render() {
+// return (
+//
+// )
+// }
+// }
render(
+ {/* Even simpler */}
+ {/* } /> */}
,
document.getElementById('root')