Skip to content

Commit 4274fb9

Browse files
whitesand310nick-keller
authored andcommitted
Update AddRows.tsx
Do not submit the form when put datasheet into a form
1 parent e1c6dfc commit 4274fb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/AddRows.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const AddRows = ({ addRows }: AddRowsComponentProps) => {
77

88
return (
99
<div className="dsg-add-row">
10-
<button className="dsg-add-row-btn" onClick={() => addRows(value)}>
10+
<button type="button" className="dsg-add-row-btn" onClick={() => addRows(value)}>
1111
Add
1212
</button>{' '}
1313
<input

0 commit comments

Comments
 (0)