Inspect Block Page #709
Annotations
7 errors
Lint:
src/pages/inspect/block/ui/index.tsx#L4
'useBlockSummary' is declared but its value is never read.
|
Lint:
src/pages/inspect/block/ui/index.tsx#L13
'params' is possibly 'null'.
|
Lint:
src/pages/inspect/block/ui/index.tsx#L166
Type '{ rowid: number; height: string; time: Date; batchSwaps: { startAsset: Metadata; endAsset: Metadata; startPrice: number; endPrice: number; startAmount: string; endAmount: string; startValueView: ValueView; endValueView: ValueView; numSwaps: number; }[]; ... 5 more ...; numTxs: number; }' is not assignable to type 'BlockSummaryApiResponse'.
|
Lint:
src/shared/api/server/block/index.ts#L79
Type 'NextResponse<{ height: number; time: Date; batchSwaps: BatchSwapSummaryDisplay[]; numOpenLps: number; numClosedLps: number; numWithdrawnLps: number; numSwaps: number; numSwapClaims: number; numTxs: number; }>' is not assignable to type 'NextResponse<BlockSummaryApiResponse>'.
|
Lint:
src/shared/database/index.ts#L469
Type '{ height: number; output: string; input: string; context_asset_end: Buffer<ArrayBufferLike>; context_asset_start: Buffer<ArrayBufferLike>; ... 69 more ...; quote_asset_id: Buffer<...>; } | undefined' is not assignable to type '{ height: number; rowid: number; time: Date; batch_swaps: BatchSwapSummary[]; num_open_lps: number; num_closed_lps: number; num_withdrawn_lps: number; num_swaps: number; num_swap_claims: number; num_txs: number; } | undefined'.
|
Lint:
src/shared/database/index.ts#L470
No overload matches this call.
|
Lint
Process completed with exit code 2.
|