Skip to content

Commit

Permalink
fix: updated form with name (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
AceTheCreator authored Aug 3, 2023
1 parent fd75ee2 commit b434a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Form/subscription.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function Subscription() {
return (
<form name="form 1" method="POST" className='flex sm:flex-col' data-netlify="true">
<input type="hidden" name="form-name" value="form 1" />
<input type='email' placeholder='Enter your email' required className='w-[90%] sm:w-full p-4 border border-black' />
<input type='email' name='email' placeholder='Enter your email' required className='w-[90%] sm:w-full p-4 border border-black' />
<button type='submit' className='p-4 bg-black text-white'>Subscribe</button>
</form>
)
Expand Down

0 comments on commit b434a08

Please sign in to comment.