diff --git a/src/actions/deposit.js b/src/actions/deposit.js index 56eae8d..19341bc 100644 --- a/src/actions/deposit.js +++ b/src/actions/deposit.js @@ -9,7 +9,7 @@ import { payFee } from "@/lib/cobuild/fee-manager"; export default async function deposit(_prevState, formData, config) { config = config ?? getConfig(); - const from = formData.get("lock"); + const from = formData.get("from"); try { let buildingPacket = await depositDao(config)(formData); diff --git a/src/app/u/[wallet]/[connection]/claim/[txHash]/[index]/form.js b/src/app/u/[wallet]/[connection]/claim/[txHash]/[index]/form.js index 9d802b9..918eeda 100644 --- a/src/app/u/[wallet]/[connection]/claim/[txHash]/[index]/form.js +++ b/src/app/u/[wallet]/[connection]/claim/[txHash]/[index]/form.js @@ -11,11 +11,6 @@ import useHeaderByNumber from "@/hooks/use-header-by-number"; import useCell from "@/hooks/use-cell"; import Capacity from "@/components/capacity"; -import { - DaoCycleProgress, - DaoCycleProgressHint, - daoCycleProgressColor, -} from "@/components/dao-cycle-progress"; import * as dao from "@/lib/dao"; import Loading from "./loading"; import SignForm from "../../../sign-form"; diff --git a/src/app/u/[wallet]/[connection]/deposit/form.js b/src/app/u/[wallet]/[connection]/deposit/form.js index 23f6d4d..1f7d603 100644 --- a/src/app/u/[wallet]/[connection]/deposit/form.js +++ b/src/app/u/[wallet]/[connection]/deposit/form.js @@ -27,18 +27,18 @@ export function TransactionForm({ formAction, formState, address }) { {formState.error} ) : null}
-
-