From 66a1882042b5c9acecb957c19ace71087368436c Mon Sep 17 00:00:00 2001 From: jeremy-babylonchain Date: Sun, 24 Nov 2024 16:15:05 +0800 Subject: [PATCH] resolve comments --- src/app/components/Modals/WithdrawV2Modal.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/components/Modals/WithdrawV2Modal.tsx b/src/app/components/Modals/WithdrawV2Modal.tsx index 614ae9d1..ccd12725 100644 --- a/src/app/components/Modals/WithdrawV2Modal.tsx +++ b/src/app/components/Modals/WithdrawV2Modal.tsx @@ -8,8 +8,8 @@ import { } from "@babylonlabs-io/bbn-core-ui"; import { getNetworkConfig } from "@/config/network.config"; -interface UnbondModalProps { - open: boolean; +interface WithdrawV2ModalProps { + isOpen: boolean; onClose: () => void; onProceed: () => void; awaitingWalletResponse: boolean; @@ -17,12 +17,12 @@ interface UnbondModalProps { const { networkName } = getNetworkConfig(); -export const WithdrawModalV2 = ({ - open, +export const WithdrawV2Modal = ({ + isOpen, onClose, onProceed, awaitingWalletResponse, -}: UnbondModalProps) => { +}: WithdrawV2ModalProps) => { const title = "Withdraw"; const content = ( <> @@ -32,7 +32,7 @@ export const WithdrawModalV2 = ({ ); return ( - + {title}