feat: token approval #282
Annotations
10 errors and 1 warning
Running pr (18):
src/components/Asset/Approval/index.tsx#L44
Expected 1-2 arguments, but got 0.
|
Running pr (18):
src/components/Pools/Backstop/AddLiquidity/index.tsx#L30
Type '{ isReady: boolean; data: undefined; error: null; isError: false; isIdle: true; isLoading: false; isSuccess: false; status: "idle"; mutate: UseMutateFunction<unknown, unknown, never, unknown>; ... 6 more ...; mutateAsync: UseMutateAsyncFunction<...>; } | { ...; } | { ...; } | { ...; }' is not assignable to type 'UseMutationResult<any, any, any, any>'.
|
Running pr (18):
src/components/Pools/Backstop/AddLiquidity/index.tsx#L40
Argument of type 'AddLiquidityValues' is not assignable to parameter of type 'never'.
|
Running pr (18):
src/components/Pools/Backstop/AddLiquidity/useAddLiquidity.ts#L26
Type '({ contract, api, walletAccount }: { contract: any; api: ApiPromise; walletAccount: WalletAccount; }, variables: AddLiquidityValues) => Promise<any>' is not assignable to type '(data: { contract: any; api: ApiPromise; walletAccount: WalletAccount; }, variables?: AddLiquidityValues | undefined) => Promise<any>'.
|
Running pr (18):
src/components/Pools/Backstop/Withdraw/index.tsx#L31
Type '{ isReady: boolean; data: undefined; error: null; isError: false; isIdle: true; isLoading: false; isSuccess: false; status: "idle"; mutate: UseMutateFunction<unknown, unknown, never, unknown>; ... 6 more ...; mutateAsync: UseMutateAsyncFunction<...>; } | { ...; } | { ...; } | { ...; }' is not assignable to type 'UseMutationResult<any, any, any, any>'.
|
Running pr (18):
src/components/Pools/Backstop/Withdraw/index.tsx#L41
Argument of type 'WithdrawLiquidityValues' is not assignable to parameter of type 'never'.
|
Running pr (18):
src/components/Pools/Backstop/Withdraw/useWithdrawLiquidity.ts#L26
Type '({ contract, api, walletAccount }: { contract: any; api: ApiPromise; walletAccount: WalletAccount; }, variables: WithdrawLiquidityValues) => Promise<any>' is not assignable to type '(data: { contract: any; api: ApiPromise; walletAccount: WalletAccount; }, variables?: WithdrawLiquidityValues | undefined) => Promise<...>'.
|
Running pr (18):
src/components/Pools/Swap/AddLiquidity/index.tsx#L30
Type '{ isReady: boolean; data: undefined; error: null; isError: false; isIdle: true; isLoading: false; isSuccess: false; status: "idle"; mutate: UseMutateFunction<unknown, unknown, never, unknown>; ... 6 more ...; mutateAsync: UseMutateAsyncFunction<...>; } | { ...; } | { ...; } | { ...; }' is not assignable to type 'UseMutationResult<any, any, any, any>'.
|
Running pr (18):
src/components/Pools/Swap/AddLiquidity/index.tsx#L40
Argument of type 'AddLiquidityValues' is not assignable to parameter of type 'never'.
|
Running pr (18):
src/components/Pools/Swap/AddLiquidity/useAddLiquidity.ts#L26
Type '({ contract, api, walletAccount }: { contract: any; api: ApiPromise; walletAccount: WalletAccount; }, variables: AddLiquidityValues) => Promise<any>' is not assignable to type '(data: { contract: any; api: ApiPromise; walletAccount: WalletAccount; }, variables?: AddLiquidityValues | undefined) => Promise<any>'.
|
Running pr (18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|