Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/components/ExplorerLink.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { useMemo } from 'react';
import Link from '@mui/material/Link';
import ArrowOutwardIcon from '@mui/icons-material/ArrowOutward';
import { useTheme } from '@mui/material/styles';

interface ExplorerLinkProps {
Expand Down Expand Up @@ -34,13 +33,6 @@ const ExplorerLink: React.FC<ExplorerLinkProps> = ({ url, text }) => {
target="_blank"
>
{text}
<ArrowOutwardIcon
sx={{
height: '10px',
width: '10px',
marginLeft: '2px',
}}
/>
</Link>
);
};
Expand Down
19 changes: 4 additions & 15 deletions src/views/v3/Redeem/TransactionDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Card from '@mui/material/Card';
import CardContent from '@mui/material/CardContent';
import CircularProgress from '@mui/material/CircularProgress';
import Divider from '@mui/material/Divider';
import Link from '@mui/material/Link';
import Typography from '@mui/material/Typography';
import Stack from '@mui/material/Stack';

Expand Down Expand Up @@ -275,20 +274,10 @@ const TransactionDetails = () => {
}

return (
<Stack alignItems="center" padding="24px 12px">
<Link
display="flex"
gap="8px"
href={url}
rel="noreferrer"
target="_blank"
underline="none"
>
<Typography
color={theme.palette.text.primary}
fontSize={14}
>{`View on ${name}`}</Typography>
</Link>
<Stack direction="row" justifyContent="space-between" padding="12px 16px">
<Typography color={theme.palette.text.secondary} fontSize={14}>
<ExplorerLink url={url} text={`View on ${name}`} />
</Typography>
</Stack>
);
}, [
Expand Down
Loading