Skip to content

Commit

Permalink
xchem#117 fix error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
tibor-postek-m2ms committed Mar 10, 2020
1 parent c81704b commit ccc2407
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion js/components/session/withSnapshotManagement.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,16 @@ export const withSnapshotManagement = WrappedComponent => {
setSnackBarTitle(null);
setHeaderNavbarTitle('');
};
}, [disableButtons, dispatch, sessionTitle, setHeaderNavbarTitle, setHeaderButtons, setSnackBarTitle, targetIdList, setSnackBarColor]);
}, [
disableButtons,
dispatch,
sessionTitle,
setHeaderNavbarTitle,
setHeaderButtons,
setSnackBarTitle,
targetIdList,
setSnackBarColor
]);

return <WrappedComponent {...rest} />;
});
Expand Down

0 comments on commit ccc2407

Please sign in to comment.