fix prettier errors

This commit is contained in:
Labhansh Agrawal 2020-03-25 15:45:08 +05:30 committed by Benjamin Staneck
parent d2d31e346a
commit 41b1ac1852
39 changed files with 150 additions and 153 deletions

View file

@ -50,7 +50,7 @@ export default class Notifications extends React.PureComponent<NotificationsProp
<a
key="link"
style={{color: '#fff'}}
onClick={ev => {
onClick={(ev) => {
window.require('electron').shell.openExternal(ev.currentTarget.href);
ev.preventDefault();
}}
@ -77,7 +77,7 @@ export default class Notifications extends React.PureComponent<NotificationsProp
{this.props.updateNote && ` ${this.props.updateNote.trim().replace(/\.$/, '')}`} (
<a
style={{color: '#000'}}
onClick={ev => {
onClick={(ev) => {
window.require('electron').shell.openExternal(ev.currentTarget.href);
ev.preventDefault();
}}
@ -105,7 +105,7 @@ export default class Notifications extends React.PureComponent<NotificationsProp
textDecoration: 'underline',
fontWeight: 'bold'
}}
onClick={ev => {
onClick={(ev) => {
window.require('electron').shell.openExternal(ev.currentTarget.href);
ev.preventDefault();
}}