UPDATE
This commit is contained in:
@@ -320,6 +320,50 @@ const TransactionDetails = () => {
|
||||
</HStack>
|
||||
</Box>
|
||||
)}
|
||||
|
||||
{data?.data?.transactionType==="RBT" &&<Box>
|
||||
<Text
|
||||
mb={2}
|
||||
color={colorMode === "light" ? "#7B7B7B" : "#E8E8E8"}
|
||||
>
|
||||
Token List:
|
||||
</Text>
|
||||
{data?.data?.tokenList?.map(({value,tokenId })=>
|
||||
<Text
|
||||
display={"flex"}
|
||||
alignItems={"center"}
|
||||
color={colorMode === "light" ? "#230A79" : "#B09AFF"}
|
||||
textDecoration={"underline"}
|
||||
>
|
||||
<Text
|
||||
whiteSpace={"nowrap"} // Prevent the text from wrapping
|
||||
textOverflow={"ellipsis"}
|
||||
isTruncated
|
||||
|
||||
fontSize={'xs'}
|
||||
>
|
||||
{tokenId}
|
||||
</Text>
|
||||
<Text
|
||||
_hover={{ bg: "gray.50" }}
|
||||
transition={"0.5s"}
|
||||
rounded={"sm"}
|
||||
p={1}
|
||||
as={"span"}
|
||||
ml={1}
|
||||
cursor={"pointer"}
|
||||
>
|
||||
<MdContentCopy
|
||||
onClick={() => copyToClipboard(tokenId)}
|
||||
/>
|
||||
</Text>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
|
||||
)}
|
||||
</Box>}
|
||||
</Box>
|
||||
|
||||
<Box
|
||||
@@ -633,7 +677,7 @@ const TransactionDetails = () => {
|
||||
|
||||
<VStack w={'100%'} alignItems={'flex-start'}>
|
||||
|
||||
<Box>
|
||||
{data?.data?.transactionType==="SC" &&<Box>
|
||||
<Text
|
||||
mb={2}
|
||||
color={colorMode === "light" ? "#7B7B7B" : "#E8E8E8"}
|
||||
@@ -675,7 +719,7 @@ const TransactionDetails = () => {
|
||||
|
||||
|
||||
)}
|
||||
</Box>
|
||||
</Box>}
|
||||
|
||||
</VStack>
|
||||
</Box>
|
||||
|
||||
Reference in New Issue
Block a user