Use descriptive parameter for team input
cgen-f900d32da5774b3aa285ff56b2cf4a2f
This commit is contained in:
parent
a873c83544
commit
e781fe46a6
1 changed files with 2 additions and 2 deletions
|
|
@ -244,10 +244,10 @@ function EventCard({
|
||||||
<Input
|
<Input
|
||||||
id={`team-${event.id}`}
|
id={`team-${event.id}`}
|
||||||
value={form.teamName}
|
value={form.teamName}
|
||||||
onChange={(value) =>
|
onChange={(eventChange) =>
|
||||||
setForm((prev) => ({
|
setForm((prev) => ({
|
||||||
...prev,
|
...prev,
|
||||||
teamName: value.target.value,
|
teamName: eventChange.target.value,
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
placeholder="Who are you building with?"
|
placeholder="Who are you building with?"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue