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 />}
|
||||
variant="outlined"
|
||||
color="secondary"
|
||||
onClick={() => devices && sendDeviceEntities(selectedDevice)}
|
||||
onClick={() => {
|
||||
if (devices) {
|
||||
void sendDeviceEntities(selectedDevice);
|
||||
}
|
||||
}}
|
||||
>
|
||||
{LL.CANCEL()}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user