Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ogonkov authored Nov 11, 2024
1 parent 5f40912 commit f4b312a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/Popover/Popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React from 'react';

import {Xmark} from '@gravity-ui/icons';

import {useUniqId} from '../../hooks/useUniqId'
import {useUniqId} from '../../hooks/useUniqId';
import {Button} from '../Button';
import {Icon} from '../Icon';
import type {PopupPlacement} from '../Popup';
Expand Down Expand Up @@ -150,7 +150,9 @@ export const Popover = React.forwardRef<PopoverInstanceProps, PopoverProps & QAP
aria-labelledby={title ? popoverTitleId : undefined}
>
<React.Fragment>
{title && <h3 id={popoverTitleId} className={cnPopover('tooltip-title')}>{title}</h3>}
{title && (
<h3 id={popoverTitleId} className={cnPopover('tooltip-title')}>{title}</h3>

Check failure on line 154 in src/components/Popover/Popover.tsx

View workflow job for this annotation

GitHub Actions / Verify Files

Replace `{title}` with `⏎························{title}⏎····················`
)}
<Content
secondary={hasTitle ? theme !== 'announcement' : false}
content={content}
Expand Down

0 comments on commit f4b312a

Please sign in to comment.