diff --git a/src/app/components/mint-unmint/components/lock-screen/lock-screen.tsx b/src/app/components/mint-unmint/components/lock-screen/lock-screen.tsx
index f6e57b5b..56e60441 100644
--- a/src/app/components/mint-unmint/components/lock-screen/lock-screen.tsx
+++ b/src/app/components/mint-unmint/components/lock-screen/lock-screen.tsx
@@ -1,25 +1,36 @@
+import { useContext, useState } from "react";
+
import { Button, VStack } from "@chakra-ui/react";
import { VaultCard } from "@components/vault/vault-card";
import { useVaults } from "@hooks/use-vaults";
-import { LockScreenProtocolFee } from "./components/protocol-fee";
-import { useContext } from "react";
import { BlockchainContext } from "../../../../providers/blockchain-context-provider";
+import { LockScreenProtocolFee } from "./components/protocol-fee";
export function LockScreen(): React.JSX.Element {
const { readyVaults } = useVaults();
const blockchainContext = useContext(BlockchainContext);
const bitcoin = blockchainContext?.bitcoin;
+ const [isSubmitting, setIsSubmitting] = useState(false);
return (
diff --git a/src/app/components/mint-unmint/components/transaction-summary/transaction-summary.tsx b/src/app/components/mint-unmint/components/transaction-summary/transaction-summary.tsx
index 9c8551c5..31065f61 100644
--- a/src/app/components/mint-unmint/components/transaction-summary/transaction-summary.tsx
+++ b/src/app/components/mint-unmint/components/transaction-summary/transaction-summary.tsx
@@ -51,8 +51,10 @@ export function TransactionSummary({
function getVault(flow: "mint" | "unmint", currentStep: number) {
if (flow === "mint") {
+ console.log("fundedVaults", fundedVaults[0]);
return currentStep === 2 ? fundingVaults[0] : fundedVaults[0];
} else {
+ console.log("closedVaults", closedVaults[0]);
return currentStep === 1 ? closingVaults[0] : closedVaults[0];
}
}
diff --git a/src/app/components/vault/components/vault-information.tsx b/src/app/components/vault/components/vault-information.tsx
index 79d78ed0..0ec93577 100644
--- a/src/app/components/vault/components/vault-information.tsx
+++ b/src/app/components/vault/components/vault-information.tsx
@@ -19,7 +19,9 @@ interface VaultInformationProps {
isExpanded: boolean;
isSelectable?: boolean;
isSelected?: boolean;
+ isSubmitting: boolean;
handleClick: () => void;
+ handleLock: () => void;
}
export function VaultInformation({
@@ -29,7 +31,9 @@ export function VaultInformation({
isExpanded,
isSelectable,
isSelected,
+ isSubmitting,
handleClick,
+ handleLock,
}: VaultInformationProps): React.JSX.Element {
const date = new Date(timestamp * 1000).toLocaleDateString("en-US");
@@ -60,7 +64,12 @@ export function VaultInformation({
)}
) : state === VaultState.READY ? (
-