Closed opicacek closed 5 years ago
At the beginning of the file, selector is defined under alias:
import { canProcessNote as canProcessNoteSelector } from 'selectors/InboxSelectors';
In connect dependencies, we correctly list canProcessNoteSelector selector.
canProcessNoteSelector
Issue: canProcessNote is falsely marked by tslint as a selector.
canProcessNote
https://github.com/productboard/pb-frontend/blob/master/src/js/modules/sidebar/components/note/NoteSidebarFooter.react.tsx#L141
🙏
Issue is that property assignment is also taken as flux dependency usage.
At the beginning of the file, selector is defined under alias:
In connect dependencies, we correctly list
canProcessNoteSelector
selector.Issue:
canProcessNote
is falsely marked by tslint as a selector.https://github.com/productboard/pb-frontend/blob/master/src/js/modules/sidebar/components/note/NoteSidebarFooter.react.tsx#L141