Skip to content

Commit

Permalink
number of max
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
JohanGrims and coderabbitai[bot] authored Dec 7, 2024
1 parent 834fa0d commit 4966940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/admin/vote/Edit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ export default function Edit() {
placeholder="15"
min={1}
value={max}
onInput={(e) => setMax(e.target.value)}
onInput={(e) => setMax(Number(e.target.value))}
></mdui-text-field>
<p />
<br />
Expand Down

0 comments on commit 4966940

Please sign in to comment.