Skip to content

Commit

Permalink
fix: hide parallerl and set paymaster to sponsor
Browse files Browse the repository at this point in the history
  • Loading branch information
jstinhw committed Apr 17, 2024
1 parent e001da7 commit f48c43a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Provider/PaymasterProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ interface PaymasterModalProviderProps {

export function PaymasterProvider({ children }: PaymasterModalProviderProps) {
const [paymasterSetting, setPaymasterSetting] = useState<PaymasterSetting[]>([
{ type: "NO" as PaymasterType },
{ type: "SPONSOR" as PaymasterType },
]);
const sessions = useSessions();

Expand Down
3 changes: 1 addition & 2 deletions src/components/SessionBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
} from "@zerodev/waas";
import { useEffect } from "react";
import { parseAbi } from "viem";
import { ParallelMintButton } from "./Button";

function SessionInfo({ sessionId }: { sessionId: `0x${string}` }) {
const { address } = useKernelClient();
Expand Down Expand Up @@ -54,7 +53,7 @@ function SessionInfo({ sessionId }: { sessionId: `0x${string}` }) {
>
Mint With Session
</Button>
<ParallelMintButton sessionId={sessionId} />
{/* <ParallelMintButton sessionId={sessionId} /> */}
</div>
{data && <div className="mt-4">MintWithSession UserOp Hash: {data}</div>}
</>
Expand Down

0 comments on commit f48c43a

Please sign in to comment.