diff --git a/src/components/tx/SignOrExecuteForm/index.tsx b/src/components/tx/SignOrExecuteForm/index.tsx index 2a493b05bd..b942368bd7 100644 --- a/src/components/tx/SignOrExecuteForm/index.tsx +++ b/src/components/tx/SignOrExecuteForm/index.tsx @@ -27,7 +27,7 @@ import { trackEvent } from '@/services/analytics' import useChainId from '@/hooks/useChainId' import ExecuteThroughRoleForm from './ExecuteThroughRoleForm' import { findAllowingRole, findMostLikelyRole, useRoles } from './ExecuteThroughRoleForm/hooks' -import { isCustomTxInfo, isGenericConfirmation } from '@/utils/transaction-guards' +import { isAnyStakingTxInfo, isCustomTxInfo, isGenericConfirmation, isOrderTxInfo } from '@/utils/transaction-guards' import useIsSafeOwner from '@/hooks/useIsSafeOwner' import { BlockaidBalanceChanges } from '../security/blockaid/BlockaidBalanceChange' import { Blockaid } from '../security/blockaid' @@ -104,7 +104,12 @@ export const SignOrExecuteForm = ({ } : skipToken, ) - const showTxDetails = props.txId && txDetails && !isCustomTxInfo(txDetails.txInfo) + const showTxDetails = + props.txId && + txDetails && + !isCustomTxInfo(txDetails.txInfo) && + !isAnyStakingTxInfo(txDetails.txInfo) && + !isOrderTxInfo(txDetails.txInfo) const isDelegate = useIsWalletDelegate() const [trigger] = useLazyGetTransactionDetailsQuery() const [readableApprovals] = useApprovalInfos({ safeTransaction: safeTx }) diff --git a/src/features/stake/components/StakingConfirmationTx/Withdraw.tsx b/src/features/stake/components/StakingConfirmationTx/Withdraw.tsx index 8f1325d3df..08011e6e76 100644 --- a/src/features/stake/components/StakingConfirmationTx/Withdraw.tsx +++ b/src/features/stake/components/StakingConfirmationTx/Withdraw.tsx @@ -1,8 +1,8 @@ import { Stack } from '@mui/material' import FieldsGrid from '@/components/tx/FieldsGrid' -import type { - NativeStakingWithdrawConfirmationView, - StakingTxWithdrawInfo, +import { + type NativeStakingWithdrawConfirmationView, + type StakingTxWithdrawInfo, } from '@safe-global/safe-gateway-typescript-sdk' import TokenAmount from '@/components/common/TokenAmount'