Fix ModalError styles

This commit is contained in:
Yana
2023-11-20 16:08:44 +01:00
committed by fmtabbara
parent b16349f2e9
commit b25747dd60
3 changed files with 1 additions and 6 deletions
@@ -152,7 +152,6 @@ export const DelegateModal: FCWithChildren<{
memo?: string,
funds?: DecCoin[],
): Promise<ExecuteResult> => {
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({
@@ -16,7 +16,7 @@ export const ErrorModal: FCWithChildren<{
<Typography color={(theme) => theme.palette.error.main} mb={1}>
{title || 'Oh no! Something went wrong...'}
</Typography>
<Typography my={5} color="text.primary">
<Typography my={5} color="text.primary" sx={{ textOverflow: 'wrap', overflowWrap: 'break-word' }}>
{message}
</Typography>
{children}
-1
View File
@@ -74,7 +74,6 @@ export const TableToolbar: FCWithChildren<TableToolBarProps> = ({
const handleNewDelegation = (delegationModalProps: DelegationModalProps) => {
setShowNewDelegationModal(false);
console.log('res In Toolbar:>> ', delegationModalProps);
setConfirmationModalProps(delegationModalProps);
};