diff --git a/src/components/Tooltip/EducationalTooltip/index.tsx b/src/components/Tooltip/EducationalTooltip/index.tsx index 03500f768dd9b..ff8dbe0e02c15 100644 --- a/src/components/Tooltip/EducationalTooltip/index.tsx +++ b/src/components/Tooltip/EducationalTooltip/index.tsx @@ -3,6 +3,12 @@ import type {TooltipExtendedProps} from '@components/Tooltip/types'; import BaseEducationalTooltip from './BaseEducationalTooltip'; function EducationalTooltip({children, ...props}: TooltipExtendedProps) { + const {shouldRender} = props; + + if (!shouldRender) { + return children; + } + return (