Skip to content

Commit a27ce37

Browse files
fix(@clayui/list): make sure <button> has a type
1 parent dfd17aa commit a27ce37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/clay-list/src/ListWithItems.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ const ListItem: React.FunctionComponent<
178178
spritemap={spritemap}
179179
trigger={
180180
<button
181+
type="button"
181182
{...dropDownTriggerProps}
182183
className="component-action"
183184
>

0 commit comments

Comments
 (0)