Skip to content

fix: send page component #413

fix: send page component

fix: send page component #413

Triggered via pull request June 7, 2024 17:14
Status Failure
Total duration 1m 22s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
unit-lint: src/pages/dashboard/Activity/Activity.tsx#L40
Missing return type on function
unit-lint: src/pages/dashboard/Activity/Activity.tsx#L59
Unary operator '++' used
unit-lint: src/pages/dashboard/Activity/Activity.tsx#L84
Expected '===' and instead saw '=='
unit-lint: src/pages/dashboard/Activity/Activity.tsx#L85
Unexpected any. Specify a different type
unit-lint: src/pages/dashboard/Activity/Activity.tsx#L86
iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations
unit-lint: src/pages/dashboard/Activity/Activity.tsx#L87
Expected '===' and instead saw '=='
unit-lint: src/pages/dashboard/Activity/Activity.tsx#L91
iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations
unit-lint: src/pages/dashboard/Activity/Activity.tsx#L92
'idx' is already declared in the upper scope
unit-lint: src/pages/dashboard/Activity/Activity.tsx#L98
Unexpected `await` inside a loop
unit-lint: src/pages/dashboard/Activity/Activity.tsx#L108
Expected '===' and instead saw '=='
unit-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
unit-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/
unit-lint: src/index.tsx#L14
Forbidden non-null assertion
unit-lint: src/pages/bonds/BondsComponent.tsx#L91
Forbidden non-null assertion
unit-lint: src/pages/bonds/BondsComponent.tsx#L351
React Hook useEffect has a missing dependency: 'updateButtonText'. Either include it or remove the dependency array
unit-lint: src/pages/bonds/BondsComponent.tsx#L373
React Hook useEffect has a missing dependency: 'updateButtonText'. Either include it or remove the dependency array
unit-lint: src/pages/bonds/BondsComponent.tsx#L378
Forbidden non-null assertion
unit-lint: src/pages/bonds/BondsComponent.tsx#L393
React Hook useEffect has missing dependencies: 'account' and 'bond'. Either include them or remove the dependency array
unit-lint: src/pages/bonds/BondsComponent.tsx#L411
Forbidden non-null assertion
unit-lint: src/pages/bonds/BondsComponent.tsx#L434
React Hook useMemo has missing dependencies: 'contract' and 'isClaiming'. Either include them or remove the dependency array
unit-lint: src/pages/bonds/BondsComponent.tsx#L586
Forbidden non-null assertion
unit-lint: src/pages/bonds/BondsComponent.tsx#L603
Forbidden non-null assertion