From b6aba660928d2ec0e3fedc2244baa023b8476c1d Mon Sep 17 00:00:00 2001 From: Alec Chen <93971719+0xAlec@users.noreply.github.com> Date: Sun, 8 Sep 2024 17:16:45 -0400 Subject: [PATCH] set default transaction type (contracts) --- playground/nextjs-app-router/components/AppProvider.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/playground/nextjs-app-router/components/AppProvider.tsx b/playground/nextjs-app-router/components/AppProvider.tsx index fb37ad9d5b..0072acb594 100644 --- a/playground/nextjs-app-router/components/AppProvider.tsx +++ b/playground/nextjs-app-router/components/AppProvider.tsx @@ -50,8 +50,9 @@ export const AppProvider = ({ children }: { children: React.ReactNode }) => { useState(); const [walletType, setWalletTypeState] = useState(); const [chainId, setChainIdState] = useState(); - const [transactionType, setTransactionTypeState] = - useState(); + const [transactionType, setTransactionTypeState] = useState( + TransactionTypes.Contracts, + ); const [paymasters, setPaymastersState] = useState>();