diff --git a/frontend/src/components/channels/ChannelDropdownMenu.tsx b/frontend/src/components/channels/ChannelDropdownMenu.tsx index 524bcdb9..33d6337e 100644 --- a/frontend/src/components/channels/ChannelDropdownMenu.tsx +++ b/frontend/src/components/channels/ChannelDropdownMenu.tsx @@ -30,9 +30,9 @@ export function ChannelDropdownMenu({ alias, channel, }: ChannelDropdownMenuProps) { - const [dialog, setDialog] = React.useState<"close" | "routingFee">(); + const [dialog, setDialog] = React.useState<"closeChannel" | "routingFee">(); - const openChannelCloseDialog = () => setDialog("close"); + const openChannelCloseDialog = () => setDialog("closeChannel"); const openRoutingFeeDialog = () => setDialog("routingFee"); return ( @@ -90,7 +90,7 @@ export function ChannelDropdownMenu({ - {dialog === "close" && ( + {dialog === "closeChannel" && ( )} {dialog === "routingFee" && }