Skip to content

Commit

Permalink
change type of button on githubProfileFinder to submit
Browse files Browse the repository at this point in the history
  • Loading branch information
No0ne003 committed May 3, 2024
1 parent cc460cd commit 4534909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/GithubProfileFinder/GithubProfileFinder.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const GithubProfileFinder = () => {
value={userName}
onChange={(event) => setUserName(event.target.value)}
/>
<Button onClick={handleSumbit} variant="outline">
<Button onClick={handleSumbit} variant="outline" type='submit'>
Search
</Button>
</div>
Expand Down

0 comments on commit 4534909

Please sign in to comment.