Skip to content

Commit

Permalink
Fix: crossorigin anonymous for token icons + fix token pair arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Dec 12, 2024
1 parent 296bff3 commit 63e561c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
1 change: 1 addition & 0 deletions src/components/common/TokenIcon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const TokenIcon = ({
alt={tokenSymbol}
fallbackSrc={fallbackSrc || FALLBACK_ICON}
height={size}
crossOrigin="anonymous"
className={css.image}
/>
)
Expand Down
17 changes: 8 additions & 9 deletions src/components/tx/ConfirmationOrder/ConfirmationOrderHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,14 @@ const ConfirmationOrderHeader = ({ blocks, showArrow }: { blocks: [InfoBlock, In
</Box>

{showArrow && index === 0 && (
<Box
width={40}
height={40}
p={1}
borderRadius="100%"
display="flex"
alignItems="center"
justifyContent="center"
<Stack
sx={{
width: 40,
height: 40,
alignItems: 'center',
justifyContent: 'center',
p: 1,
borderRadius: '100%',
bgcolor: 'background.paper',
position: 'absolute',
right: -20,
Expand All @@ -74,7 +73,7 @@ const ConfirmationOrderHeader = ({ blocks, showArrow }: { blocks: [InfoBlock, In
}}
>
<SvgIcon component={EastRoundedIcon} inheritViewBox fontSize="small" />
</Box>
</Stack>
)}
</Stack>
))}
Expand Down

0 comments on commit 63e561c

Please sign in to comment.