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

Ponder updated #198

Closed
wants to merge 3 commits into from

Merge branch 'develop' into ponder-updated

823e1d2
Select commit
Loading
Failed to load commit list.
Closed

Ponder updated #198

Merge branch 'develop' into ponder-updated
823e1d2
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / ESLint failed Mar 13, 2024 in 4s

37 new alerts including 17 errors

New alerts in code changed by this pull request

  • 17 errors
  • 20 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 238 in components/01-atoms/SwapContext.tsx

See this annotation in the file changed.

Code scanning / ESLint

Disallow empty functions Error

Unexpected empty method 'validateAddressToSwap'.

Check failure on line 239 in components/01-atoms/SwapContext.tsx

See this annotation in the file changed.

Code scanning / ESLint

Disallow unused variables Error

'address' is defined but never used.

Check warning on line 239 in components/01-atoms/SwapContext.tsx

See this annotation in the file changed.

Code scanning / ESLint

Disallow unused variables Warning

'address' is defined but never used. Allowed unused args must match /^_/u.

Check failure on line 239 in components/01-atoms/SwapContext.tsx

See this annotation in the file changed.

Code scanning / ESLint

Disallow empty functions Error

Unexpected empty method 'setInputAddress'.

Check failure on line 237 in components/01-atoms/SwapContext.tsx

See this annotation in the file changed.

Code scanning / ESLint

Disallow unused variables Error

'_inputEnsAddress' is defined but never used.

Check warning on line 60 in components/02-molecules/ConfirmSwapModal.tsx

See this annotation in the file changed.

Code scanning / ESLint

verifies the list of dependencies for Hooks like useEffect and similar Warning

React Hook useEffect has a missing dependency: 'handleSwap'. Either include it or remove the dependency array.

Check warning on line 19 in components/01-atoms/ApprovedTokenCards.tsx

See this annotation in the file changed.

Code scanning / ESLint

verifies the list of dependencies for Hooks like useEffect and similar Warning

React Hook useEffect has a missing dependency: 'setApprovedTokensCount'. Either include it or remove the dependency array.

Check warning on line 73 in components/01-atoms/SearchBar.tsx

See this annotation in the file changed.

Code scanning / ESLint

verifies the list of dependencies for Hooks like useEffect and similar Warning

React Hook useEffect has missing dependencies: 'getUserAddress' and 'setUserJustValidatedInput'. Either include them or remove the dependency array.

Check failure on line 3 in components/01-atoms/StatusOffers.tsx

See this annotation in the file changed.

Code scanning / ESLint

Enforce a convention in module import order. Error

@/lib/client/hooks/ponderQueries import should occur before import of react

Check failure on line 4 in components/01-atoms/StatusOffers.tsx

See this annotation in the file changed.

Code scanning / ESLint

Enforce a convention in module import order. Error

. import should occur before import of react

Check failure on line 236 in components/01-atoms/SwapContext.tsx

See this annotation in the file changed.

Code scanning / ESLint

Disallow unused variables Error

'_authedUser' is defined but never used.

Check failure on line 240 in components/01-atoms/SwapContext.tsx

See this annotation in the file changed.

Code scanning / ESLint

Disallow empty functions Error

Unexpected empty method 'setUserJustValidatedInput'.

Check failure on line 242 in components/01-atoms/SwapContext.tsx

See this annotation in the file changed.

Code scanning / ESLint

Disallow empty functions Error

Unexpected empty method 'setAuthenticatedUserTokensList'.

Check failure on line 244 in components/01-atoms/SwapContext.tsx

See this annotation in the file changed.

Code scanning / ESLint

Disallow empty functions Error

Unexpected empty method 'setSearchedUserTokensList'.

Check failure on line 247 in components/01-atoms/SwapContext.tsx

See this annotation in the file changed.

Code scanning / ESLint

Disallow empty functions Error

Unexpected empty method 'setDestinyChain'.

Check failure on line 249 in components/01-atoms/SwapContext.tsx

See this annotation in the file changed.

Code scanning / ESLint

Disallow empty functions Error

Unexpected empty method 'setTimeDate'.

Check failure on line 251 in components/01-atoms/SwapContext.tsx

See this annotation in the file changed.

Code scanning / ESLint

Disallow empty functions Error

Unexpected empty method 'setApprovedTokensCount'.

Check failure on line 253 in components/01-atoms/SwapContext.tsx

See this annotation in the file changed.

Code scanning / ESLint

Disallow unused variables Error

'buttonClickAction' is defined but never used.

Check warning on line 253 in components/01-atoms/SwapContext.tsx

See this annotation in the file changed.

Code scanning / ESLint

Disallow unused variables Warning

'buttonClickAction' is defined but never used. Allowed unused args must match /^_/u.

Check failure on line 253 in components/01-atoms/SwapContext.tsx

See this annotation in the file changed.

Code scanning / ESLint

Disallow empty functions Error

Unexpected empty method 'updateSwapStep'.

Check failure on line 254 in components/01-atoms/SwapContext.tsx

See this annotation in the file changed.

Code scanning / ESLint

Disallow empty functions Error

Unexpected empty method 'clearSwapData'.

Check warning on line 49 in components/01-atoms/SwapExpireTime.tsx

See this annotation in the file changed.

Code scanning / ESLint

verifies the list of dependencies for Hooks like useEffect and similar Warning

React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array.

Check failure on line 78 in components/01-atoms/SwapModalButton.tsx

See this annotation in the file changed.

Code scanning / ESLint

Disallow empty functions Error

Unexpected empty arrow function.

Check warning on line 66 in components/02-molecules/ConfirmSwapModal.tsx

See this annotation in the file changed.

Code scanning / ESLint

verifies the list of dependencies for Hooks like useEffect and similar Warning

React Hook useEffect has a missing dependency: 'updateSwapStep'. Either include it or remove the dependency array.

Check warning on line 70 in components/02-molecules/ConfirmSwapModal.tsx

See this annotation in the file changed.

Code scanning / ESLint

verifies the list of dependencies for Hooks like useEffect and similar Warning

React Hook useEffect has a missing dependency: 'updateSwapStep'. Either include it or remove the dependency array.