Skip to content

Commit

Permalink
resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-babylonlabs committed Nov 25, 2024
1 parent 88b42f8 commit 96af1fe
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/app/components/Modals/WithdrawV2Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ 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;
}

const { networkName } = getNetworkConfig();

export const WithdrawModalV2 = ({
open,
export const WithdrawV2Modal = ({
isOpen,
onClose,
onProceed,
awaitingWalletResponse,
}: UnbondModalProps) => {
}: WithdrawV2ModalProps) => {
const title = "Withdraw";
const content = (
<>
Expand All @@ -32,7 +32,7 @@ export const WithdrawModalV2 = ({
);

return (
<Dialog open={open} onClose={onClose}>
<Dialog open={isOpen} onClose={onClose}>
<DialogHeader className="text-primary-main" onClose={onClose}>
{title}
</DialogHeader>
Expand Down

0 comments on commit 96af1fe

Please sign in to comment.