mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-31 19:19:08 +03:00
Don't show banner while uploading
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user