diff --git a/nest_frontend/components/interactive/BoxAlertCreate.js b/nest_frontend/components/interactive/BoxAlertCreate.js index a87c251..ec5c15e 100644 --- a/nest_frontend/components/interactive/BoxAlertCreate.js +++ b/nest_frontend/components/interactive/BoxAlertCreate.js @@ -69,7 +69,7 @@ export default function BoxAlertCreate( type={"number"} icon={faThermometerThreeQuarters} value={limit} - onChange={e => setLimit(e.target.limit)} + onChange={e => setLimit(e.target.value)} /> @@ -78,7 +78,7 @@ export default function BoxAlertCreate( type={"number"} icon={faStopwatch} value={windowSize} - onChange={e => setWindowSize(e.target.limit)} + onChange={e => setWindowSize(e.target.value)} /> {error ?