diff --git a/src/components/Popover/Popover.tsx b/src/components/Popover/Popover.tsx index 92f25d0da..437b6a931 100644 --- a/src/components/Popover/Popover.tsx +++ b/src/components/Popover/Popover.tsx @@ -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'; @@ -150,7 +150,9 @@ export const Popover = React.forwardRef - {title &&

{title}

} + {title && ( +

{title}

+ )}