From ada5880d19638a5264f9a1b167ce0f590d98eb07 Mon Sep 17 00:00:00 2001 From: Rowan Hogan Date: Wed, 2 Oct 2019 17:34:03 +1000 Subject: [PATCH] Style fixes Format js files with standard Bump lodash from 4.17.10 to 4.17.13 --- .eslintrc | 2 +- package.json | 2 +- src/components/footer/index.js | 6 +-- src/components/header/index.js | 14 +++---- src/components/loading/index.js | 4 +- src/components/modal/index.js | 47 ++++++++++++------------ src/components/page/index.js | 18 ++++----- src/components/search/index.js | 34 ++++++++--------- src/components/sections/index.js | 12 +++--- src/components/settings/index.js | 52 +++++++++++++------------- src/components/toggle/index.js | 10 ++--- src/images/github.svg | 1 + src/index.js | 32 ++++++++-------- src/lib/api/index.js | 2 +- src/lib/favicon/index.js | 24 ++++++------ src/registerServiceWorker.js | 58 ++++++++++++++--------------- src/routes/app/index.js | 30 +++++++-------- src/routes/home/index.js | 19 ++++++---- src/routes/index.js | 8 ++-- src/routes/media/index.js | 18 ++++----- src/routes/not-found/index.js | 2 +- src/store/settings/index.js | 30 ++++++++------- src/styles/_home.scss | 32 +++++++++++++++- src/styles/_layout.scss | 27 +++++++------- src/styles/_settings.scss | 8 ++-- src/styles/styles.css | 63 +++++++++++++++++++++++--------- yarn.lock | 10 ++--- 27 files changed, 318 insertions(+), 247 deletions(-) create mode 100644 src/images/github.svg diff --git a/.eslintrc b/.eslintrc index 5e603ec..e3578aa 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,3 +1,3 @@ { - "extends": "react-app" + "extends": "standard" } diff --git a/package.json b/package.json index 7f5178b..a61b112 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "dependencies": { "axios": "^0.18.0", "gh-pages": "^1.1.0", - "lodash": "^4.17.10", + "lodash": "^4.17.13", "node-sass-chokidar": "^1.3.0", "npm-run-all": "^4.1.3", "react": "^16.4.0", diff --git a/src/components/footer/index.js b/src/components/footer/index.js index 07d9987..3362c26 100644 --- a/src/components/footer/index.js +++ b/src/components/footer/index.js @@ -2,10 +2,10 @@ import React, { Component } from 'react' import { Link } from 'react-router-dom' class Footer extends Component { - render() { + render () { return window === window.top ? ( -