diff --git a/frontend/src/pages/signup/index.js b/frontend/src/pages/signup/index.js index d1a9d523..3c747fcf 100644 --- a/frontend/src/pages/signup/index.js +++ b/frontend/src/pages/signup/index.js @@ -76,7 +76,10 @@ const Signup = () => { aria-describedby="Starting Year" value={formData.starting_year} onChange={(e) => - setFormData({ ...formData, starting_year: e.target.value }) + setFormData({ + ...formData, + starting_year: parseInt(e.target.value, 10), + }) } />