Skip to content

Upgrade React SDK, fix inbox tabs #5

Upgrade React SDK, fix inbox tabs

Upgrade React SDK, fix inbox tabs #5

Triggered via pull request March 1, 2024 20:34
Status Failure
Total duration 1m 14s
Artifacts

checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 9 warnings
typecheck: src/hooks/useInitXmtpClient.ts#L222
Argument of type '{ account: Account; batch?: { multicall?: boolean | { batchSize?: number | undefined; wait?: number | undefined; } | undefined; } | undefined; cacheTime: number; chain: Chain; ... 23 more ...; extend: <const client extends { ...; } & Partial<...>>(fn: (client: Client<...>) => client) => Client<...>; }' is not assignable to parameter of type 'Signer | { account: Account | undefined; batch?: { multicall?: boolean | { batchSize?: number | undefined; wait?: number | undefined; } | undefined; } | undefined; ... 25 more ...; extend: <const client extends { ...; } & Partial<...>>(fn: (client: Client<...>) => client) => Client<...>; } | null'.
typecheck: src/hooks/useInitXmtpClient.ts#L244
Type '{ account: Account; batch?: { multicall?: boolean | { batchSize?: number | undefined; wait?: number | undefined; } | undefined; } | undefined; cacheTime: number; chain: Chain; ... 23 more ...; extend: <const client extends { ...; } & Partial<...>>(fn: (client: Client<...>) => client) => Client<...>; }' is not assignable to type 'Signer | { account: Account | undefined; batch?: { multicall?: boolean | { batchSize?: number | undefined; wait?: number | undefined; } | undefined; } | undefined; ... 25 more ...; extend: <const client extends { ...; } & Partial<...>>(fn: (client: Client<...>) => client) => Client<...>; } | null | undefined'.
typecheck
Process completed with exit code 2.
lint: src/component-library/components/ScreenEffects/RainEffect.tsx#L44
Do not use Array index in keys
lint: src/component-library/components/ScreenEffects/SnowEffect.tsx#L43
Do not use Array index in keys
lint: src/global.d.ts#L2
Unexpected any. Specify a different type
lint: src/global.d.ts#L7
Unexpected any. Specify a different type
lint: src/global.d.ts#L12
Unexpected any. Specify a different type
lint: src/helpers/attachments.ts#L72
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
lint: src/helpers/functions.ts#L15
Unexpected any. Specify a different type
lint: src/helpers/functions.ts#L15
Unexpected any. Specify a different type