remove unused displayType

This commit is contained in:
Sean Yesmunt 2018-11-20 17:22:48 -05:00
parent 11b90632c3
commit 7084c87a02
2 changed files with 2 additions and 4 deletions

View file

@ -123,7 +123,6 @@ class WunderBar extends React.PureComponent<Props> {
} else { } else {
this.props.doShowSnackBar({ this.props.doShowSnackBar({
message: __('Invalid LBRY URL entered. Only A-Z, a-z, and - allowed.'), message: __('Invalid LBRY URL entered. Only A-Z, a-z, and - allowed.'),
displayType: ['snackbar'],
}); });
} }
} catch (e) { } catch (e) {

View file

@ -33,9 +33,7 @@ class ReportPage extends React.Component {
// Display global notice // Display global notice
const action = doToast({ const action = doToast({
displayType: ['snackbar'],
message: __('Message received! Thanks for helping.'), message: __('Message received! Thanks for helping.'),
isError: false,
}); });
window.app.store.dispatch(action); window.app.store.dispatch(action);
}); });
@ -90,7 +88,8 @@ class ReportPage extends React.Component {
button="link" button="link"
href="https://github.com/lbryio/lbry-desktop/issues" href="https://github.com/lbryio/lbry-desktop/issues"
label={__('submit an issue on GitHub')} label={__('submit an issue on GitHub')}
/>. />
.
</p> </p>
<p> <p>
{__('Explore our')}{' '} {__('Explore our')}{' '}