Skip to content

Commit

Permalink
fix: pkg relation text can not be click
Browse files Browse the repository at this point in the history
  • Loading branch information
nyqykk committed Dec 18, 2024
1 parent 486a9c2 commit 1574432
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions packages/components/src/components/Alert/package-relation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,7 @@ export const PackageRelationReasons: React.FC<{

return (
<Timeline.Item key={text} style={{ cursor: 'default' }}>
<Typography.Text
onClick={(e) => {
e.preventDefault();
e.stopPropagation();
setIndex(i);
}}
strong={i === index}
style={{
color: i === index ? Color.Blue : 'inherit',
}}
>
<Typography.Text>
<div className={styles.filePath}>
{text}
<Typography.Paragraph
Expand Down

0 comments on commit 1574432

Please sign in to comment.