Skip to content

Commit 05df693

Browse files
Viczeivictor
andauthored
fix: tooltip button type shouldn't be submit (#341)
Co-authored-by: victor <[email protected]>
1 parent cdd443d commit 05df693

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Tooltip.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export const Tooltip = memo(
6262
className={fr.cx("fr-btn--tooltip", "fr-btn")}
6363
aria-describedby={id}
6464
id={`tooltip-owner-${id}`}
65+
type="button"
6566
>
6667
{t("tooltip-button-text")}
6768
</button>

0 commit comments

Comments
 (0)