Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
martpie committed Oct 4, 2024
1 parent 59ebd83 commit c71b2b0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
1 change: 0 additions & 1 deletion src/components/GlobalErrorBoundary/GlobalErrorBoundary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export default function GlobalErrorBoundary() {
return (
<ViewMessage.Notice>
<p>
{/* biome-ignore lint/a11y/useSemanticElements: no <img> for emojis */}
<span role="img" aria-label="boom">
💥
</span>{' '}
Expand Down
6 changes: 1 addition & 5 deletions src/elements/ExternalButton/ExternalButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,5 @@ export default function ExternalButton(props: Props) {
[props.href],
);

return (
<Button role="link" onClick={openLink}>
{props.children}
</Button>
);
return <Button onClick={openLink}>{props.children}</Button>;
}
7 changes: 1 addition & 6 deletions src/elements/ExternalLink/ExternalLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@ export default function ExternalLink(props: Props) {
);

return (
<button
type="button"
className={styles.externalLink}
role="link"
onClick={openLink}
>
<button type="button" className={styles.externalLink} onClick={openLink}>
{props.children}
</button>
);
Expand Down

0 comments on commit c71b2b0

Please sign in to comment.