chore: upgrade mantine to v6

This commit is contained in:
Elias Schneider
2023-03-10 09:01:33 +01:00
parent 3ad6b03b6b
commit 0455ba1bc1
7 changed files with 396 additions and 196 deletions

View File

@@ -34,8 +34,10 @@ const FileSizeInput = ({
label={label}
value={size}
onChange={(value) => {
setSize(value!);
onChange(unitAndSizeToByte(unit, value!));
if (value) {
setSize(value);
onChange(unitAndSizeToByte(unit, value));
}
}}
/>
</Col>