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 unused variable warnings #43

Open
egarson opened this issue Feb 2, 2023 · 0 comments
Open

Fix unused variable warnings #43

egarson opened this issue Feb 2, 2023 · 0 comments

Comments

@egarson
Copy link
Contributor

egarson commented Feb 2, 2023

src/App.tsx has a couple of unused variable warnings as indicated below.
I will submit a fix for this just now.

Compiled with warnings.

src/App.tsx
  Line 9:66:   'Config' is defined but never used       @typescript-eslint/no-unused-vars
  Line 19:6:   'Environment' is defined but never used  @typescript-eslint/no-unused-vars
  Line 35:10:  'getRpcUrl' is defined but never used    @typescript-eslint/no-unused-vars

src/components/Wallet.tsx
  Line 4:10:   'NetworkType' is defined but never used                                                                          @typescript-eslint/no-unused-vars
  Line 18:10:  '_' is assigned a value but never used                                                                           @typescript-eslint/no-unused-vars
  Line 77:6:   React Hook useEffect has a missing dependency: 'createWallet'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
@egarson egarson assigned egarson and unassigned egarson Feb 2, 2023
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