Skip to content

Commit

Permalink
fix(tabs): set buttons as buttons
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Bouquillon <julien.bouquillon@beta.gouv.fr>
  • Loading branch information
revolunet committed Jun 29, 2024
1 parent 711774d commit adc4a5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ export const Tabs = memo(
<button
ref={button => (buttonRefs.current[tabIndex] = button)}
id={getTabId(tabIndex)}
type="button"
className={cx(
fr.cx("fr-tabs__tab", iconId, "fr-tabs__tab--icon-left"),
classes.tab
Expand Down

0 comments on commit adc4a5c

Please sign in to comment.