Skip to content

Commit adc4a5c

Browse files
authored
fix(tabs): set buttons as buttons
Signed-off-by: Julien Bouquillon <julien.bouquillon@beta.gouv.fr>
1 parent 711774d commit adc4a5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Tabs.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ export const Tabs = memo(
161161
<button
162162
ref={button => (buttonRefs.current[tabIndex] = button)}
163163
id={getTabId(tabIndex)}
164+
type="button"
164165
className={cx(
165166
fr.cx("fr-tabs__tab", iconId, "fr-tabs__tab--icon-left"),
166167
classes.tab

0 commit comments

Comments
 (0)