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()}