Skip to content

Commit

Permalink
[website] Fix unrecognized prop warning
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Oct 19, 2023
1 parent 35a57b9 commit 031131c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/src/components/action/InfoCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ export default function InfoCard({ icon, svg, title, description, link }: InfoCa
<Paper
component={link ? Link : 'div'}
href={link}
noLinkStyle={Boolean(link)}
{...(link
? {
noLinkStyle: true,
}
: {})}
variant="outlined"
sx={(theme) => ({
p: 3.5,
Expand Down

0 comments on commit 031131c

Please sign in to comment.