Skip to content

Commit

Permalink
feat: enable tx queue
Browse files Browse the repository at this point in the history
  • Loading branch information
dhvanipa committed May 7, 2024
1 parent 0cc8ce2 commit cd2bda5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/account-kit/src/useAppAccountClient.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { http, useAccount, usePublicClient } from "wagmi";
import { maxUint256, toHex, publicActions, createClient, Chain, walletActions } from "viem";
import { callFrom } from "@latticexyz/world/internal";
import { transactionQueue } from "@latticexyz/common/actions";
import { SmartAccountClientConfig, smartAccountActions } from "permissionless";
import { createPimlicoBundlerClient } from "permissionless/clients/pimlico";
import { useConfig } from "./AccountKitConfigProvider";
Expand Down Expand Up @@ -66,7 +67,7 @@ export function useAppAccountClient(): UseQueryResult<AppAccountClient> {
transport: transportObserver("app account (signer) client", http()),
})
.extend(walletActions)
// .extend(transactionQueue({ publicClient }))
.extend(transactionQueue())
.extend(
callFrom({
worldAddress,
Expand Down

0 comments on commit cd2bda5

Please sign in to comment.