Fix ModalError styles
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -74,7 +74,6 @@ export const TableToolbar: FCWithChildren<TableToolBarProps> = ({
|
||||
|
||||
const handleNewDelegation = (delegationModalProps: DelegationModalProps) => {
|
||||
setShowNewDelegationModal(false);
|
||||
console.log('res In Toolbar:>> ', delegationModalProps);
|
||||
setConfirmationModalProps(delegationModalProps);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user