Skip to content

feat(currency): use marketplace currency data #560

feat(currency): use marketplace currency data

feat(currency): use marketplace currency data #560

Triggered via pull request November 19, 2024 16:17
Status Failure
Total duration 59s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 2 warnings
typecheck
@ark-market/app#typecheck: command (/home/runner/work/ark-market/ark-market/apps/arkmarket) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (2)
typecheck
Property 'currency' is missing in type '{ is_auction: false; }' but required in type '{ is_auction: boolean; currency: Currency; }'.
typecheck
Property 'currency' is missing in type '{ currency_address: string | null; end_amount: string | null; end_date: number | null; is_auction: boolean; order_hash: string; start_amount: string | null; start_date: number | null; }' but required in type '{ currency: Currency; currency_address: string | null; end_amount: string | null; end_date: number | null; is_auction: boolean; order_hash: string; start_amount: string; start_date: number | null; }'.
typecheck
Type '{ currency_address: string | null; end_amount: string | null; end_date: number | null; is_auction: boolean; order_hash: string; start_amount: string | null; start_date: number | null; }' is not assignable to type '{ currency: Currency; currency_address: string | null; end_amount: string | null; end_date: number | null; is_auction: boolean; order_hash: string; start_amount: string; start_date: number | null; }'.
typecheck
Process completed with exit code 2.
lint
@ark-market/app#lint: command (/home/runner/work/ark-market/ark-market/apps/arkmarket) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint --cache --cache-location node_modules/.cache/.eslintcache exited (1)
lint: apps/arkmarket/src/app/collection/[collectionAddress]/components/collection-items-buy-now.tsx#L64
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
lint: apps/arkmarket/src/app/token/[contractAddress]/[tokenId]/components/token-actions-cancel-listing.tsx#L40
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
lint: apps/arkmarket/src/app/token/[contractAddress]/[tokenId]/components/token-actions-cancel-listing.tsx#L42
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
lint: apps/arkmarket/src/app/token/[contractAddress]/[tokenId]/components/token-actions-cancel-listing.tsx#L56
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
lint: apps/arkmarket/src/app/token/[contractAddress]/[tokenId]/components/token-actions-cancel-listing.tsx#L58
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
lint: apps/arkmarket/src/app/token/[contractAddress]/[tokenId]/components/token-actions-make-bid.tsx#L106
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
lint: apps/arkmarket/src/app/token/[contractAddress]/[tokenId]/components/token-actions-make-bid.tsx#L125
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
lint: apps/arkmarket/src/app/token/[contractAddress]/[tokenId]/components/token-actions-make-bid.tsx#L140
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
lint: apps/arkmarket/src/app/token/[contractAddress]/[tokenId]/components/token-actions-make-bid.tsx#L179
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
lint: packages/ui/src/icon-wrapper.tsx#L65
React Hook useEffect has a missing dependency: 'weight'. Either include it or remove the dependency array
lint: apps/arkmarket/src/app/components/main-carousel.tsx#L56
React Hook useEffect has a missing dependency: 'startAutoSlide'. Either include it or remove the dependency array