Skip to content

Commit 4601d73

Browse files
committed
Fix Tools page link styles
1 parent fff9412 commit 4601d73

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/components/Tool/Home/Tool.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
Card,
88
CardActionArea,
99
CardContent,
10+
Link,
1011
Typography,
1112
} from '@mui/material';
1213
import clsx from 'clsx';
@@ -89,9 +90,11 @@ const Tool = ({
8990
elevation={3}
9091
data-testid={`${toolId}-container`}
9192
>
92-
<NextLink
93+
<Link
94+
component={NextLink}
9395
href={`/accountLists/${accountListId}/tools/${url}`}
94-
scroll={false}
96+
color="inherit"
97+
underline="none"
9598
>
9699
<CardActionArea>
97100
<CardContent className={classes.cardContent}>
@@ -116,7 +119,7 @@ const Tool = ({
116119
<Typography variant="subtitle2">{desc}</Typography>
117120
</CardContent>
118121
</CardActionArea>
119-
</NextLink>
122+
</Link>
120123
</Card>
121124
);
122125
};

0 commit comments

Comments
 (0)