mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-22 04:54:18 +00:00
🐛 Fix undefined limit and windowsize
This commit is contained in:
parent
981243f3dd
commit
30c95ba258
1 changed files with 2 additions and 2 deletions
|
@ -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 ?
|
||||
|
|
Loading…
Reference in a new issue