Skip to content

Commit

Permalink
disable the rule
Browse files Browse the repository at this point in the history
  • Loading branch information
broccolinisoup committed Jul 23, 2024
1 parent 1709ab2 commit ad8af92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/drafts/MarkdownEditor/_ToolbarButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ export const ToolbarButton = forwardRef<HTMLButtonElement, IconButtonProps>((pro
const {disabled, condensed} = useContext(MarkdownEditorContext)

return (
// eslint-disable-next-line primer-react/a11y-remove-disable-tooltip
<IconButton
unsafeDisableTooltip={true}
ref={ref}
size={condensed ? 'small' : 'medium'}
variant="invisible"
Expand All @@ -17,8 +19,6 @@ export const ToolbarButton = forwardRef<HTMLButtonElement, IconButtonProps>((pro
{...props}
sx={{color: 'fg.muted', ...props.sx}}
// Keeping the tooltip disable since it is not maintained anymore and its tests were failing.
// eslint-disable-next-line primer-react/a11y-remove-disable-tooltip
unsafeDisableTooltip
/>
)
})
Expand Down

0 comments on commit ad8af92

Please sign in to comment.