File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- import type { MintData , TokenAccountData } from "@saberhq/token-utils" ;
1+ import type { MintData } from "@saberhq/token-utils" ;
22import { deserializeAccount , deserializeMint } from "@saberhq/token-utils" ;
3-
3+ import type { AccountInfo } from "@solana/spl-token" ;
44import type { AccountParser } from "./useParsedAccountsData" ;
55
66/**
77 * Parses token accounts.
88 */
9- export const TOKEN_ACCOUNT_PARSER : AccountParser < TokenAccountData > = ( info ) => {
9+ export const TOKEN_ACCOUNT_PARSER : AccountParser < AccountInfo > = ( info ) => {
1010 return {
1111 address : info . accountId ,
1212 ...deserializeAccount ( info . accountInfo . data ) ,
Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ export const useHandleTXsInternal = ({
282282
283283 if ( waitForConfirmation ) {
284284 // await for the tx to be confirmed
285- await Promise . all ( pending . map ( async ( p ) => await p . wait ( ) ) ) ;
285+ await Promise . all ( pending . map ( ( p ) => p . wait ( ) ) ) ;
286286 }
287287
288288 return {
You can’t perform that action at this time.
0 commit comments