diff --git a/apps/web/src/components/InAppDialog.tsx b/apps/web/src/components/InAppDialog.tsx index 5f02a41..f799da3 100644 --- a/apps/web/src/components/InAppDialog.tsx +++ b/apps/web/src/components/InAppDialog.tsx @@ -6,7 +6,7 @@ import { retrieveInAppAccount, setInAppWalletStatus, } from "@src/utils/inAppWallet"; -import { useEffect, useState } from "react"; +import { FormEventHandler, useEffect, useState } from "react"; import { Input } from "./Input"; import Modal from "./Modal"; @@ -31,7 +31,7 @@ export default function InAppDialog() { } }; - const fundAccount = (e) => { + const fundAccount = (e: React.FormEvent) => { e.preventDefault(); setLoading(true);