Skip to content

improve fee rendering in approval dialogue #168

improve fee rendering in approval dialogue

improve fee rendering in approval dialogue #168

Triggered via pull request July 4, 2024 18:45
Status Failure
Total duration 1m 10s
Artifacts

turbo-ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
test
@repo/ui#test: command (/home/runner/actions-runner/_work/web/web/packages/ui) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
components/ui/tx/actions-views/swap/index.test.tsx > <SwapViewComponent /> > when the swap view is visible > shows the correct fee in upenumbra: packages/ui/components/ui/tx/actions-views/swap/index.tsx#L37
TypeError: Cannot read properties of undefined (reading 'valueView') ❯ SwapViewComponent components/ui/tx/actions-views/swap/index.tsx:37:25 ❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25889:20 ❯ performConcurrentWorkOnRoot ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25789:22
test
Process completed with exit code 1.
Lint: packages/ui/components/ui/tx/actions-views/swap/index.tsx#L36
'prepaidClaimFee' is never reassigned. Use 'const' instead
Lint: packages/ui/components/ui/tx/actions-views/swap/index.tsx#L37
Unnecessary conditional, value is always truthy
Lint: packages/ui/components/ui/tx/actions-views/swap/index.tsx#L37
Prefer using an optional chain expression instead, as it's more concise and easier to read
Lint: packages/ui/components/ui/tx/index.tsx#L46
Classname 'mono' is not a Tailwind CSS class!
Lint
@repo/ui#lint: command (/home/runner/actions-runner/_work/web/web/packages/ui) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint exited (1)
Lint
Process completed with exit code 1.