Stellar Wavebugfrontendgood first issuehelp wanted
Metriche repository
- Star
- (4 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
Category
Bug
Priority
Medium
Description
In app/news/page.tsx, lines 46-66 define a <form> element that wraps only the email input, while the submit <Button type="submit"> (lines 67-76) is placed outside the <form> element. Clicking the "Subscribe!" button fails to trigger the form submit event.
Evidence from app/news/page.tsx#L46-L76:
<form className="..." onSubmit="...">
<input ... />
</form>
<Button type="submit" ...>Subscribe!</Button>
Proposed Solution
Move the Subscribe <Button> inside the <form> container element.
Acceptance Criteria
- Subscribe button is inside the
<form>element. - Pressing Enter or clicking Subscribe triggers form submission.
Files
app/news/page.tsx