Fix linting

This commit is contained in:
Paul Kaplan committed 2018-12-07 10:26:08 -05:00
1 parent 4736826a26
commit 688c386f86
1 file changed
+1 -1
+1 -1
View File
@@ -53,7 +53,7 @@ const ProjectSaverHOC = function (WrappedComponent) {
if (typeof window === 'object') {
// Note: it might be better to use a listener instead of assigning onbeforeunload;
// but then it'd be hard to turn this listening off in our tests
window.onbeforeunload = (e) => this.leavePageConfirm(e);
window.onbeforeunload = e => this.leavePageConfirm(e);
}
}
componentDidUpdate (prevProps) {