Skip to content

feat: display pools if no wallet connected #105

feat: display pools if no wallet connected

feat: display pools if no wallet connected #105

Triggered via pull request September 26, 2024 09:01
Status Failure
Total duration 2m 35s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
lint: src/components/AccountSelector/AccountSelector.tsx#L80
Expected '!==' and instead saw '!='
lint: src/components/Overlays/OverlaySend.tsx#L7
`@reef-chain/evm-provider` import should occur before import of `../Transfer`
lint: src/components/Overlays/OverlaySend.tsx#L35
Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`
lint: src/components/Overlays/OverlaySendNft.tsx#L229
Expected exception block, space or tab after '//' in comment
lint: src/components/Overlays/OverlaySwap.tsx#L6
'/home/runner/work/react-lib/react-lib/node_modules/@reef-chain/util-lib/dist/dts/main.d.ts' imported multiple times
lint: src/components/Overlays/OverlaySwap.tsx#L9
`@reef-chain/util-lib` import should occur before import of `../../state`
lint: src/components/Overlays/OverlaySwap.tsx#L9
'/home/runner/work/react-lib/react-lib/node_modules/@reef-chain/util-lib/dist/dts/main.d.ts' imported multiple times
lint: src/components/PoolActions/UsdAmountField.tsx#L5
`@reef-chain/ui-kit` import should occur before import of `../../state`
lint: src/components/PoolActions/UsdAmountField.tsx#L50
Using target="_blank" without rel="noreferrer" (which implies rel="noopener") is a security risk in older browsers: see https://mathiasbynens.github.io/rel-noopener/#recommendations
lint: src/components/PoolActions/Withdraw.tsx#L45
'sum' is never reassigned. Use 'const' instead
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: src/api/tokens.ts#L87
Unexpected console statement
lint: src/api/tokens.ts#L92
Unexpected console statement
lint: src/components/AccountSelector/AccountSelector.tsx#L77
React Hook useEffect has a missing dependency: 'setOpen'. Either include it or remove the dependency array. If 'setOpen' changes too often, find the parent component that defines it and wrap that definition in useCallback
lint: src/components/AccountSelector/AccountSelector.tsx#L81
React Hook useEffect has a missing dependency: 'isOpen'. Either include it or remove the dependency array
lint: src/components/AddLiquidity/index.tsx#L107
A form label must be associated with a control
lint: src/components/EvmBind/EvmBindComponent.tsx#L110
Unexpected console statement
lint: src/components/OverlayAction/index.tsx#L2
'react-transition-group' should be listed in the project's dependencies. Run 'npm i -S react-transition-group' to add it
lint: src/components/Overlays/OverlaySendNft.tsx#L96
React Hook useMemo has a missing dependency: 'selectedAccount.address'. Either include it or remove the dependency array
lint: src/components/Overlays/OverlaySendNft.tsx#L204
Unexpected mix of '*' and '/'. Use parentheses to clarify the intended order of operations
lint: src/components/Overlays/OverlaySendNft.tsx#L204
Unexpected mix of '*' and '/'. Use parentheses to clarify the intended order of operations