Skip to content

Commit ccd06be

Browse files
authored
Update Tooltip.tsx
1 parent db4b3c7 commit ccd06be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Tooltip/Tooltip.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useEffect, useState, useRef, useCallback, useImperativeHandle } from 'react'
22
import { autoUpdate } from '@floating-ui/dom'
3-
import classNames from 'clsx'
3+
import clsx from 'clsx'
44

55
import debounce from 'utils/debounce'
66
import { useTooltip } from 'components/TooltipProvider'
@@ -791,7 +791,7 @@ const Tooltip = ({
791791
<WrapperElement
792792
id={id}
793793
role={role}
794-
className={classNames(
794+
className={clsx(
795795
'react-tooltip',
796796
coreStyles['tooltip'],
797797
styles['tooltip'],

0 commit comments

Comments
 (0)