Fix copy to clipboard layout glitch

This commit is contained in:
Thomas Nordquist
2019-05-01 01:56:59 +02:00
parent 7cc032cdf4
commit ebdfac39eb
2 changed files with 19 additions and 30 deletions

View File

@@ -37,7 +37,7 @@ class Notification extends React.Component<Props, {}> {
<Snackbar
anchorOrigin={snackbarAnchor}
open={Boolean(this.props.message)}
autoHideDuration={this.props.type === 'error' ? 10000 : 3000}
autoHideDuration={this.props.type === 'error' ? 10000 : 2000}
onClose={this.props.onClose}
>
<SnackbarContent