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

chore: added new banner #200

Closed
wants to merge 33 commits into from

support: keplr wallet

6c607ff
Select commit
Loading
Failed to load commit list.
Closed

chore: added new banner #200

support: keplr wallet
6c607ff
Select commit
Loading
Failed to load commit list.
codefactor.io / CodeFactor failed Jan 1, 2025 in 5s

18 issues found.

Annotations

Check notice on line 36 in src/components/Strategies.tsx

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/components/Strategies.tsx#L36

'pagesCount' is assigned a value but never used. Allowed unused vars must match /^_/u. (unused-imports/no-unused-vars)

Check notice on line 559 in src/components/YieldCard.tsx

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/components/YieldCard.tsx#L559

Expected '===' and instead saw '=='. (eqeqeq)

Check notice on line 36 in src/components/Strategies.tsx

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/components/Strategies.tsx#L36

'pages' is assigned a value but never used. Allowed unused vars must match /^_/u. (unused-imports/no-unused-vars)

Check notice on line 312 in src/components/YieldCard.tsx

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/components/YieldCard.tsx#L312

Expected '===' and instead saw '=='. (eqeqeq)

Check notice on line 144 in src/components/Navbar.tsx

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/components/Navbar.tsx#L144

React Hook useMemo has an unnecessary dependency: 'isMobile'. Either exclude it or remove the dependency array. Outer scope values like 'isMobile' aren't valid dependencies because mutating them doesn't re-render the component. (react-hooks/exhaustive-deps)

Check notice on line 280 in src/components/YieldCard.tsx

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/components/YieldCard.tsx#L280

Expected '!==' and instead saw '!='. (eqeqeq)

Check notice on line 120 in src/components/Navbar.tsx

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/components/Navbar.tsx#L120

'lastWallet' is assigned a value but never used. Allowed unused vars must match /^_/u. (unused-imports/no-unused-vars)

Check notice on line 41 in src/components/Strategies.tsx

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/components/Strategies.tsx#L41

'pools' is assigned a value but never used. Allowed unused vars must match /^_/u. (unused-imports/no-unused-vars)

Check notice on line 294 in src/components/YieldCard.tsx

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/components/YieldCard.tsx#L294

Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. (jsx-a11y/alt-text)

Check notice on line 259 in src/components/YieldCard.tsx

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/components/YieldCard.tsx#L259

Expected '===' and instead saw '=='. (eqeqeq)

Check notice on line 196 in src/components/Navbar.tsx

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/components/Navbar.tsx#L196

React Hook useEffect has a missing dependency: 'setAddress'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)

Check notice on line 44 in src/components/YieldCard.tsx

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/components/YieldCard.tsx#L44

Expected '===' and instead saw '=='. (eqeqeq)

Check notice on line 164 in src/components/Navbar.tsx

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/components/Navbar.tsx#L164

React Hook useEffect has missing dependencies: 'connectWallet' and 'connectorConfig'. Either include them or remove the dependency array. (react-hooks/exhaustive-deps)

Check notice on line 566 in src/components/YieldCard.tsx

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/components/YieldCard.tsx#L566

Expected '===' and instead saw '=='. (eqeqeq)

Check notice on line 190 in src/components/Navbar.tsx

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/components/Navbar.tsx#L190

React Hook useEffect has a missing dependency: 'setLastWallet'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)

Check notice on line 435 in src/components/Navbar.tsx

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/components/Navbar.tsx#L435

'data' is defined but never used. Allowed unused args must match /^_/u. (unused-imports/no-unused-vars)

Check notice on line 79 in src/components/YieldCard.tsx

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/components/YieldCard.tsx#L79

Expected '!==' and instead saw '!='. (eqeqeq)

Check notice on line 36 in src/components/Strategies.tsx

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/components/Strategies.tsx#L36

'setCurrentPage' is assigned a value but never used. Allowed unused vars must match /^_/u. (unused-imports/no-unused-vars)