From a1fc5bf54b59015fae988bb3df75f2f8d8423f6f Mon Sep 17 00:00:00 2001 From: proddy Date: Mon, 3 Nov 2025 17:50:43 +0100 Subject: [PATCH] fix lint warning --- interface/src/app/main/Customizations.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/interface/src/app/main/Customizations.tsx b/interface/src/app/main/Customizations.tsx index c6d9b235f..dc6e1e9e4 100644 --- a/interface/src/app/main/Customizations.tsx +++ b/interface/src/app/main/Customizations.tsx @@ -733,7 +733,11 @@ const Customizations = () => { startIcon={} variant="outlined" color="secondary" - onClick={() => devices && sendDeviceEntities(selectedDevice)} + onClick={() => { + if (devices) { + void sendDeviceEntities(selectedDevice); + } + }} > {LL.CANCEL()}