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 (
<>
<MessageBox
message="Upload a new firmware (.bin) file below to replace the existing firmware"
level="warning"
my={2}
/>
{!uploading && (
<MessageBox
message="Upload a new firmware (.bin) file below to replace the existing firmware"
level="warning"
my={2}
/>
)}
<SingleUpload
accept=".bin"
onDrop={uploadFile}