mirror of
https://github.com/zoriya/flood.git
synced 2025-12-20 06:05:15 +00:00
Switch entirely to fat arrow functions
This commit is contained in:
@@ -13,7 +13,7 @@ import UIActions from './actions/UIActions';
|
||||
class FloodApp extends React.Component {
|
||||
componentDidMount() {
|
||||
TorrentActions.fetchLatestTorrentLocation();
|
||||
window.addEventListener('click', function () {
|
||||
window.addEventListener('click', () => {
|
||||
UIActions.dismissContextMenu();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user