Skip to content

Commit

Permalink
Updated tooltip trigger button type
Browse files Browse the repository at this point in the history
  • Loading branch information
calebjacob committed Jul 29, 2024
1 parent d79c974 commit f6389b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@near-pagoda/ui",
"version": "0.2.0",
"version": "0.2.1",
"description": "A React component library that implements the official NEAR design system.",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const Tooltip = ({ asChild, children, content, root, side = 'top', sideOf
return (
<Primitive.Provider>
<Primitive.Root delayDuration={delayDuration} {...root}>
<Primitive.Trigger className={asChild ? undefined : s.trigger} asChild={asChild}>
<Primitive.Trigger className={asChild ? undefined : s.trigger} asChild={asChild} type="button">
{children}
</Primitive.Trigger>

Expand Down

0 comments on commit f6389b8

Please sign in to comment.