Skip to content

Commit

Permalink
chore(tooltip): formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
krisantrobus committed Nov 18, 2024
1 parent 30e7f4e commit ec8bbd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/paste-core/components/tooltip/src/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const Tooltip = React.forwardRef<HTMLDivElement, TooltipVariantProps>(
{React.Children.only(
<TooltipPrimitiveReference {...tooltip} ref={ref} {...children.props}>
{(referenceProps) => React.cloneElement(children, referenceProps)}
</TooltipPrimitiveReference>
</TooltipPrimitiveReference>,
)}
<TooltipPrimitive element={element} {...tooltip} {...props} as={StyledTooltip}>
{/* import Paste Theme Based Styles due to portal positioning. */}
Expand Down Expand Up @@ -175,7 +175,7 @@ const Tooltip = React.forwardRef<HTMLDivElement, TooltipVariantProps>(
</TooltipPrimitive>
</>
);
}
},
);

Tooltip.displayName = "Tooltip";
Expand Down

0 comments on commit ec8bbd6

Please sign in to comment.