From d97b433a4998118b0ed51c84586ae9a353d4ac9b Mon Sep 17 00:00:00 2001
From: Sean Yesmunt
Date: Fri, 29 Mar 2019 10:23:32 -0400
Subject: [PATCH] working with electron
---
src/ui/component/errorBoundary/view.jsx | 2 +-
src/ui/component/header/view.jsx | 4 +-
src/ui/component/transactionList/view.jsx | 8 +-
.../component/transactionListRecent/view.jsx | 16 +--
src/ui/component/userHistory/index.js | 15 ++-
src/ui/component/userHistory/view.jsx | 8 +-
src/ui/component/walletBalance/view.jsx | 2 +-
src/ui/index.jsx | 2 +-
src/ui/modal/modalPhoneCollection/index.js | 2 +
src/ui/page/auth/index.js | 2 -
src/ui/page/auth/view.jsx | 10 +-
src/ui/page/discover/index.js | 2 +-
src/ui/page/rewards/index.js | 4 +-
src/ui/page/show/index.js | 1 -
src/ui/page/userHistory/view.jsx | 2 +-
src/ui/redux/actions/app.js | 1 +
src/ui/scss/component/_header.scss | 113 ++++++++----------
src/ui/scss/component/_media.scss | 2 +-
src/ui/scss/init/_gui.scss | 2 +-
webpack.electron.config.js | 2 +-
webpack.web.config.js | 2 +-
21 files changed, 99 insertions(+), 103 deletions(-)
diff --git a/src/ui/component/errorBoundary/view.jsx b/src/ui/component/errorBoundary/view.jsx
index aec60a57d..72d7936f2 100644
--- a/src/ui/component/errorBoundary/view.jsx
+++ b/src/ui/component/errorBoundary/view.jsx
@@ -45,7 +45,7 @@ export default class ErrorBoundary extends React.Component {
button="link"
className="load-screen__button"
label={__('refreshing the app')}
- onClick={() => window.location.reload()}
+ onClick={() => (window.location.href = '/')}
/>{' '}
{__('to fix it')}.
diff --git a/src/ui/component/header/view.jsx b/src/ui/component/header/view.jsx
index 26d56a3ca..65bd8e382 100644
--- a/src/ui/component/header/view.jsx
+++ b/src/ui/component/header/view.jsx
@@ -53,7 +53,7 @@ const Header = (props: Props) => {