From 7084c87a023db0a2e45039c077b3c6d73672eb90 Mon Sep 17 00:00:00 2001
From: Sean Yesmunt
Date: Tue, 20 Nov 2018 17:22:48 -0500
Subject: [PATCH] remove unused displayType
---
src/renderer/component/wunderbar/view.jsx | 1 -
src/renderer/page/report/view.jsx | 5 ++---
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/renderer/component/wunderbar/view.jsx b/src/renderer/component/wunderbar/view.jsx
index c1575c6cc..ee9ab7f98 100644
--- a/src/renderer/component/wunderbar/view.jsx
+++ b/src/renderer/component/wunderbar/view.jsx
@@ -123,7 +123,6 @@ class WunderBar extends React.PureComponent {
} else {
this.props.doShowSnackBar({
message: __('Invalid LBRY URL entered. Only A-Z, a-z, and - allowed.'),
- displayType: ['snackbar'],
});
}
} catch (e) {
diff --git a/src/renderer/page/report/view.jsx b/src/renderer/page/report/view.jsx
index b9503c3c1..5a708a1ed 100644
--- a/src/renderer/page/report/view.jsx
+++ b/src/renderer/page/report/view.jsx
@@ -33,9 +33,7 @@ class ReportPage extends React.Component {
// Display global notice
const action = doToast({
- displayType: ['snackbar'],
message: __('Message received! Thanks for helping.'),
- isError: false,
});
window.app.store.dispatch(action);
});
@@ -90,7 +88,8 @@ class ReportPage extends React.Component {
button="link"
href="https://github.com/lbryio/lbry-desktop/issues"
label={__('submit an issue on GitHub')}
- />.
+ />
+ .
{__('Explore our')}{' '}