From f4701561f6a05b738a3df899cd87c1ac220b0002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E5=9B=BD=E5=AE=87?= <841185308@qq.com> Date: Thu, 1 Aug 2024 16:32:55 +0800 Subject: [PATCH] fix: Do not close multisig dialog when open action dialog for multisig. (#3219) --- packages/neuron-ui/src/components/MultisigAddress/index.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/neuron-ui/src/components/MultisigAddress/index.tsx b/packages/neuron-ui/src/components/MultisigAddress/index.tsx index 03be73c04e..50b0c5a485 100644 --- a/packages/neuron-ui/src/components/MultisigAddress/index.tsx +++ b/packages/neuron-ui/src/components/MultisigAddress/index.tsx @@ -123,10 +123,6 @@ const MultisigAddress = () => { const { deleteAction, infoAction, sendAction, approveAction } = useActions({ deleteConfigById }) const [showDeleteDialog, setShowDeleteDialog] = useState(false) - const showMainDialog = useMemo( - () => !(infoAction.isDialogOpen || sendAction.isDialogOpen || approveAction.isDialogOpen || isCreateDialogOpen), - [infoAction.isDialogOpen, sendAction.isDialogOpen, approveAction.isDialogOpen, isCreateDialogOpen] - ) const onClickItem = useCallback( (multisigConfig: MultisigConfig) => (e: React.SyntheticEvent) => { const { @@ -226,7 +222,7 @@ const MultisigAddress = () => { return (
{t('multisig-address.window-title')}