Skip to content

Commit

Permalink
removed redundant cn calls
Browse files Browse the repository at this point in the history
  • Loading branch information
markgol777 committed Nov 27, 2024
1 parent dafe7e8 commit aa389c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/design-system/components/tooltip/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ const ToolTip: React.FC<TooltipProps> = ({
position
}) => {
const textContent = (
<Box className={cn('s2s-tooltip-text-container')}>
<Typography className={cn('s2s-tooltip-title')}>{title}</Typography>
<Box className={'s2s-tooltip-text-container'}>
<Typography className={'s2s-tooltip-title'}>{title}</Typography>
{description && <Typography>{description}</Typography>}
</Box>
)

const iconContent = <DoneIcon className={cn('s2s-tooltip-icon')} />
const iconContent = <DoneIcon className={'s2s-tooltip-icon'} />

return (
<Box
Expand Down

0 comments on commit aa389c8

Please sign in to comment.