Skip to content

Commit 264023a

Browse files
committed
use custom Link component
1 parent 817a73e commit 264023a

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

src/components/Roadmap.tsx

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,14 @@ const IssueSection: React.FC<IPropsIssueSection> = ({ issues }) => {
6969
}}
7070
>
7171
<Box>{issue.title}</Box>
72-
{issue.errorMsg && <Text color="fail">{issue.errorMsg}</Text>}
72+
{issue.errorMsg && (
73+
<Text color="fail" mb={0}>
74+
{issue.errorMsg}
75+
</Text>
76+
)}
7377
<Box>
7478
{issue.html_url && (
75-
<LinkOverlay
76-
href={url}
77-
textDecoration="none"
78-
_after={{
79-
content: '"↗"',
80-
ml: 0.5,
81-
}}
82-
isExternal
83-
>
79+
<LinkOverlay as={Link} href={url}>
8480
Discuss
8581
</LinkOverlay>
8682
)}

0 commit comments

Comments
 (0)