Don't show banner while uploading

This commit is contained in:
MichaelDvP
2022-04-08 10:03:05 +02:00
parent f771bb8043
commit d203092ba7

View File

@@ -13,11 +13,13 @@ const FirmwareFileUpload: FC<UploadFirmwareProps> = ({ uploadFirmware }) => {
return ( return (
<> <>
{!uploading && (
<MessageBox <MessageBox
message="Upload a new firmware (.bin) file below to replace the existing firmware" message="Upload a new firmware (.bin) file below to replace the existing firmware"
level="warning" level="warning"
my={2} my={2}
/> />
)}
<SingleUpload <SingleUpload
accept=".bin" accept=".bin"
onDrop={uploadFile} onDrop={uploadFile}