remove unused displayType
This commit is contained in:
parent
11b90632c3
commit
7084c87a02
2 changed files with 2 additions and 4 deletions
|
@ -123,7 +123,6 @@ class WunderBar extends React.PureComponent<Props> {
|
|||
} else {
|
||||
this.props.doShowSnackBar({
|
||||
message: __('Invalid LBRY URL entered. Only A-Z, a-z, and - allowed.'),
|
||||
displayType: ['snackbar'],
|
||||
});
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
@ -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')}
|
||||
/>.
|
||||
/>
|
||||
.
|
||||
</p>
|
||||
<p>
|
||||
{__('Explore our')}{' '}
|
||||
|
|
Loading…
Reference in a new issue