Address new linting rules (#851)

Co-authored-by: philon- <philon-@users.noreply.github.com>
This commit is contained in:
Jeremy Gallant
2025-09-14 21:31:47 -04:00
committed by GitHub
co-authored by philon-
parent 37ad0ac9eb
commit aaf85943a8
16 changed files with 27 additions and 32 deletions
+9 -5
View File
@@ -122,11 +122,15 @@ const ConfigPage = () => {
await connection?.commitEditSettings();
}
workingChannelConfig.forEach((newChannel) => addChannel(newChannel));
workingConfig.forEach((newConfig) => setConfig(newConfig));
workingModuleConfig.forEach((newModuleConfig) =>
setModuleConfig(newModuleConfig),
);
workingChannelConfig.forEach((newChannel) => {
addChannel(newChannel);
});
workingConfig.forEach((newConfig) => {
setConfig(newConfig);
});
workingModuleConfig.forEach((newModuleConfig) => {
setModuleConfig(newModuleConfig);
});
removeWorkingChannelConfig();
removeWorkingConfig();
+1 -1
View File
@@ -34,7 +34,7 @@ export const Dashboard = () => {
{devices.map((device) => {
const nodeDB = getNodeDB(device.id);
if (!nodeDB) {
return;
return undefined;
}
return (