Skip to content
Snippets Groups Projects
Commit 688c386f authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Fix linting

parent 4736826a
Branches
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ const ProjectSaverHOC = function (WrappedComponent) { ...@@ -53,7 +53,7 @@ const ProjectSaverHOC = function (WrappedComponent) {
if (typeof window === 'object') { if (typeof window === 'object') {
// Note: it might be better to use a listener instead of assigning onbeforeunload; // 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 // 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) { componentDidUpdate (prevProps) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment