Commit ad8de4a0 authored by tom's avatar tom

delete bigint

parent fad3d706
......@@ -137,7 +137,6 @@ const TxDecodedInputData = ({ data }: Props) => {
Data
</GridItem>
{ data.parameters.map(({ name, type, value }, index) => {
const formattedValue = type.startsWith('uint') ? BigInt(value).toString() : value;
return (
<TableRow key={ name } name={ name } type={ type } isLast={ index === data.parameters.length - 1 }>
{ type === 'address' ? (
......@@ -148,8 +147,6 @@ const TxDecodedInputData = ({ data }: Props) => {
) : (
<Flex alignItems="flex-start" justifyContent="space-between" whiteSpace="normal" wordBreak="break-all">
<Text>{ value }</Text>
<br/>
<Text>{ formattedValue }</Text>
<CopyToClipboard text={ value }/>
</Flex>
) }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment