1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-21 20:44:18 +00:00

🐛 Fix undefined limit and windowsize

This commit is contained in:
Steffo 2021-05-25 18:24:16 +02:00
parent 981243f3dd
commit 30c95ba258
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -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)}
/>
</FormLabel>
<FormLabel htmlFor={"alert-window"} text={strings.alertWindow}>
@ -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)}
/>
</FormLabel>
{error ?