Skip to content

Commit 27c76ea

Browse files
authored
chore: hide tx simulation block (#8654)
1 parent 9b8ff7e commit 27c76ea

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

packages/kit/src/views/SignatureConfirm/components/SignatureConfirmComponents/Assets.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function SignatureAssetDetailItem({
9393
nativeTokenTransferAmountToUpdate,
9494
isSendNativeTokenOnly,
9595
inSimulation,
96-
isSmallSize,
96+
// isSmallSize,
9797
...rest
9898
}: {
9999
type?: 'token' | 'nft';
@@ -122,6 +122,8 @@ function SignatureAssetDetailItem({
122122
networkId: tokenProps?.networkId,
123123
});
124124

125+
const isSmallSize = false;
126+
125127
const renderDetails = useCallback(() => {
126128
if (isLoading) {
127129
if (isSmallSize) {

packages/kit/src/views/SignatureConfirm/components/SignatureConfirmDetails/SignatureConfirmDetails.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ function SignatureConfirmDetails(props: IProps) {
115115
showAddressLocalTags
116116
/>
117117
);
118-
case EParseTxComponentType.Simulation:
119-
return <Simulation component={component} />;
118+
// case EParseTxComponentType.Simulation:
119+
// return <Simulation component={component} />;
120120
default:
121121
return null;
122122
}

0 commit comments

Comments
 (0)