This commit is contained in:
2024-11-05 12:44:58 +05:30
parent 6e3633a7af
commit bd77a5be39

View File

@@ -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>