Remove unnecessary code
This commit is contained in:
parent
c9f7f46ebc
commit
454f785878
|
@ -16,9 +16,7 @@ const InternalCreate: React.FC<InternalCreateProps> = ({
|
||||||
txData,
|
txData,
|
||||||
internalOp,
|
internalOp,
|
||||||
resolvedAddresses,
|
resolvedAddresses,
|
||||||
}) => {
|
}) => (
|
||||||
return (
|
|
||||||
<>
|
|
||||||
<div className="flex items-baseline space-x-1 whitespace-nowrap">
|
<div className="flex items-baseline space-x-1 whitespace-nowrap">
|
||||||
<span className="text-gray-500">
|
<span className="text-gray-500">
|
||||||
<FontAwesomeIcon icon={faAngleRight} size="1x" /> CREATE
|
<FontAwesomeIcon icon={faAngleRight} size="1x" /> CREATE
|
||||||
|
@ -46,8 +44,6 @@ const InternalCreate: React.FC<InternalCreateProps> = ({
|
||||||
)
|
)
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</>
|
);
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
export default React.memo(InternalCreate);
|
export default InternalCreate;
|
||||||
|
|
|
@ -8,9 +8,6 @@ import { TransactionData, InternalOperation } from "../types";
|
||||||
import { ResolvedAddresses } from "../api/address-resolver";
|
import { ResolvedAddresses } from "../api/address-resolver";
|
||||||
import TransactionAddress from "./TransactionAddress";
|
import TransactionAddress from "./TransactionAddress";
|
||||||
|
|
||||||
const CHI_ADDRESS = "0x0000000000004946c0e9F43F4Dee607b0eF1fA1c";
|
|
||||||
const GST2_ADDRESS = "0x0000000000b3F879cb30FE243b4Dfee438691c04";
|
|
||||||
|
|
||||||
type InternalSelfDestructProps = {
|
type InternalSelfDestructProps = {
|
||||||
txData: TransactionData;
|
txData: TransactionData;
|
||||||
internalOp: InternalOperation;
|
internalOp: InternalOperation;
|
||||||
|
@ -81,4 +78,4 @@ const InternalSelfDestruct: React.FC<InternalSelfDestructProps> = ({
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default React.memo(InternalSelfDestruct);
|
export default InternalSelfDestruct;
|
||||||
|
|
|
@ -71,4 +71,4 @@ const InternalTransfer: React.FC<InternalTransferProps> = ({
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default React.memo(InternalTransfer);
|
export default InternalTransfer;
|
||||||
|
|
Loading…
Reference in New Issue