Skip to content

Commit 2437d4b

Browse files
committed
(refactor) - creating links
1 parent 2a81d2d commit 2437d4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/CreateLink.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const CreateLink = ({ history }) => {
4242
placeholder="The URL for the link"
4343
/>
4444
</div>
45-
<button disabled={fetching} onClick={postMutation}>Submit</button>
45+
<button type="button" disabled={fetching} onClick={postMutation}>Submit</button>
4646
</div>
4747
);
4848
}

0 commit comments

Comments
 (0)