Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some lint warnings #412

Open
gashcrumb opened this issue Mar 18, 2022 · 0 comments
Open

Fix some lint warnings #412

gashcrumb opened this issue Mar 18, 2022 · 0 comments
Assignees

Comments

@gashcrumb
Copy link
Contributor

Should look into these:

/home/runner/work/cos-ui/cos-ui/src/app/components/CreateConnectorWizard/CreateConnectorWizardContext.tsx
Warning:   [14](https://github.com/bf2fc6cc711aee1a0c2a/cos-ui/runs/5602565497?check_suite_focus=true#step:6:14)0:7  warning  React Hook useCallback has an unnecessary dependency: 'clusterRef'. Either exclude it or remove the dependency array  react-hooks/exhaustive-deps

/home/runner/work/cos-ui/cos-ui/src/app/pages/CreateConnectorPage/StepErrorHandling.tsx
Warning:   36:6  warning  React Hook useCallback has missing dependencies: 'clearSelection', 'onSetErrorHandler', and 'onSetTopic'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

✖ 2 problems (0 errors, 2 warnings)
@gashcrumb gashcrumb self-assigned this Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant