Skip to content

Commit 7d01d20

Browse files
committed
fix demo submit button
1 parent ae61291 commit 7d01d20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/src/demo/Demo.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ const Demo = () => {
175175
value={newTodo}
176176
/>
177177
<Button
178+
type="submit"
178179
style={{ background: 'black', color: 'white', padding: '1rem' }}
179180
>
180181
ADD

0 commit comments

Comments
 (0)