From cd2bda5d94076f0dba7a93be01a43138fe07e436 Mon Sep 17 00:00:00 2001 From: Dhvani Patel Date: Tue, 7 May 2024 15:35:16 +0100 Subject: [PATCH] feat: enable tx queue --- packages/account-kit/src/useAppAccountClient.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/account-kit/src/useAppAccountClient.ts b/packages/account-kit/src/useAppAccountClient.ts index deeba308e9..84dc60e827 100644 --- a/packages/account-kit/src/useAppAccountClient.ts +++ b/packages/account-kit/src/useAppAccountClient.ts @@ -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"; @@ -66,7 +67,7 @@ export function useAppAccountClient(): UseQueryResult { transport: transportObserver("app account (signer) client", http()), }) .extend(walletActions) - // .extend(transactionQueue({ publicClient })) + .extend(transactionQueue()) .extend( callFrom({ worldAddress,