Skip to content

Commit

Permalink
set default transaction type (contracts)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAlec committed Sep 8, 2024
1 parent c079fe9 commit b6aba66
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions playground/nextjs-app-router/components/AppProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ export const AppProvider = ({ children }: { children: React.ReactNode }) => {
useState<OnchainKitComponent>();
const [walletType, setWalletTypeState] = useState<WalletPreference>();
const [chainId, setChainIdState] = useState<number>();
const [transactionType, setTransactionTypeState] =
useState<TransactionTypes>();
const [transactionType, setTransactionTypeState] = useState<TransactionTypes>(
TransactionTypes.Contracts,
);
const [paymasters, setPaymastersState] =
useState<Record<number, Paymaster>>();

Expand Down

0 comments on commit b6aba66

Please sign in to comment.