mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
fix lint warning
This commit is contained in:
@@ -733,7 +733,11 @@ const Customizations = () => {
|
|||||||
startIcon={<CancelIcon />}
|
startIcon={<CancelIcon />}
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
color="secondary"
|
color="secondary"
|
||||||
onClick={() => devices && sendDeviceEntities(selectedDevice)}
|
onClick={() => {
|
||||||
|
if (devices) {
|
||||||
|
void sendDeviceEntities(selectedDevice);
|
||||||
|
}
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
{LL.CANCEL()}
|
{LL.CANCEL()}
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user