diff --git a/src/components/Popover/Popover.tsx b/src/components/Popover/Popover.tsx index 8461e5e836..d6d7087be9 100644 --- a/src/components/Popover/Popover.tsx +++ b/src/components/Popover/Popover.tsx @@ -4,6 +4,7 @@ import React from 'react'; import {Xmark} from '@gravity-ui/icons'; +import {useUniqId} from '../../hooks/useUniqId'; import {Button} from '../Button'; import {Icon} from '../Icon'; import type {PopupPlacement} from '../Popup'; @@ -115,6 +116,8 @@ export const Popover = React.forwardRef - {title &&

{title}

} + {title && ( +

+ {title} +

+ )}