From b25747dd60460d6464a55a39e76dbf2aaae5d172 Mon Sep 17 00:00:00 2001 From: Yana Date: Mon, 20 Nov 2023 16:08:44 +0100 Subject: [PATCH] Fix ModalError styles --- .../src/components/Delegations/components/DelegateModal.tsx | 4 ---- explorer/src/components/Delegations/components/ErrorModal.tsx | 2 +- explorer/src/components/TableToolbar.tsx | 1 - 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/explorer/src/components/Delegations/components/DelegateModal.tsx b/explorer/src/components/Delegations/components/DelegateModal.tsx index e28384ec00..bc4030c7f2 100644 --- a/explorer/src/components/Delegations/components/DelegateModal.tsx +++ b/explorer/src/components/Delegations/components/DelegateModal.tsx @@ -152,7 +152,6 @@ export const DelegateModal: FCWithChildren<{ memo?: string, funds?: DecCoin[], ): Promise => { - console.log('cosmWasmSignerClient :>> ', cosmWasmSignerClient); const amount = (Number(funds![0].amount) * 1000000).toString(); const uNymFunds = [{ amount: amount, denom: 'unym' }]; return await cosmWasmSignerClient.execute( @@ -179,9 +178,6 @@ export const DelegateModal: FCWithChildren<{ action: 'delegate', }); try { - await delegateToMixnode({ mixId }, fee, memo, [amount]).then((res) => { - console.log('res :>> ', res); - }); const tx = await delegateToMixnode({ mixId }, fee, memo, [amount]); onOk({ diff --git a/explorer/src/components/Delegations/components/ErrorModal.tsx b/explorer/src/components/Delegations/components/ErrorModal.tsx index 5a5df420da..b1c573af85 100644 --- a/explorer/src/components/Delegations/components/ErrorModal.tsx +++ b/explorer/src/components/Delegations/components/ErrorModal.tsx @@ -16,7 +16,7 @@ export const ErrorModal: FCWithChildren<{ theme.palette.error.main} mb={1}> {title || 'Oh no! Something went wrong...'} - + {message} {children} diff --git a/explorer/src/components/TableToolbar.tsx b/explorer/src/components/TableToolbar.tsx index 286b740f0d..b79cc864c8 100644 --- a/explorer/src/components/TableToolbar.tsx +++ b/explorer/src/components/TableToolbar.tsx @@ -74,7 +74,6 @@ export const TableToolbar: FCWithChildren = ({ const handleNewDelegation = (delegationModalProps: DelegationModalProps) => { setShowNewDelegationModal(false); - console.log('res In Toolbar:>> ', delegationModalProps); setConfirmationModalProps(delegationModalProps); };