chore: added new banner #200
18 issues found.
Annotations
Check notice on line 36 in src/components/Strategies.tsx
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
codefactor-io / CodeFactor
src/components/YieldCard.tsx#L559
Expected '===' and instead saw '=='. (eqeqeq)
Check notice on line 36 in src/components/Strategies.tsx
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
codefactor-io / CodeFactor
src/components/YieldCard.tsx#L312
Expected '===' and instead saw '=='. (eqeqeq)
Check notice on line 144 in src/components/Navbar.tsx
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
codefactor-io / CodeFactor
src/components/YieldCard.tsx#L280
Expected '!==' and instead saw '!='. (eqeqeq)
Check notice on line 120 in src/components/Navbar.tsx
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
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
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
codefactor-io / CodeFactor
src/components/YieldCard.tsx#L259
Expected '===' and instead saw '=='. (eqeqeq)
Check notice on line 196 in src/components/Navbar.tsx
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
codefactor-io / CodeFactor
src/components/YieldCard.tsx#L44
Expected '===' and instead saw '=='. (eqeqeq)
Check notice on line 164 in src/components/Navbar.tsx
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
codefactor-io / CodeFactor
src/components/YieldCard.tsx#L566
Expected '===' and instead saw '=='. (eqeqeq)
Check notice on line 190 in src/components/Navbar.tsx
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
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
codefactor-io / CodeFactor
src/components/YieldCard.tsx#L79
Expected '!==' and instead saw '!='. (eqeqeq)
Check notice on line 36 in src/components/Strategies.tsx
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)