Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
react/no-unused-state rule doesn't recognize _.pick(this.state, ...)
Unfortunately, using _.pick to pull attributes out of the component state isn't recognized as using those attributes by the react/no-unused-state eslint rule. More info here: jsx-eslint/eslint-plugin-react#1626 Rather than disable the rule entirely, I'm removing the one instance where we were picking attributes from state. Signed-off-by: Kevin Lingerfelt <kl@buoyant.io>
- Loading branch information