Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 349332a

Browse files
committed
fixed prevent default not working
1 parent 9184127 commit 349332a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webapp_frontend/src/components/pages/Registration.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default function Registration(): ReactElement {
7777
<Row>
7878
<Col md={{span: 6, offset: 3}}>
7979
<h1>Create new account</h1>
80-
<Form onSubmit={() => handleSubmit}>
80+
<Form onSubmit={handleSubmit}>
8181
<FormGroup controlId="formBasicUsername">
8282
<Form.Label>Username</Form.Label>
8383
<Form.Control type={"name"} value={username}
@@ -141,4 +141,4 @@ export default function Registration(): ReactElement {
141141
</Row>
142142
</Container>
143143
)
144-
}
144+
}

0 commit comments

Comments
 (0)