Address new linting rules (#851)
Co-authored-by: philon- <philon-@users.noreply.github.com>
This commit is contained in:
co-authored by
philon-
parent
37ad0ac9eb
commit
aaf85943a8
@@ -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();
|
||||
|
||||
@@ -34,7 +34,7 @@ export const Dashboard = () => {
|
||||
{devices.map((device) => {
|
||||
const nodeDB = getNodeDB(device.id);
|
||||
if (!nodeDB) {
|
||||
return;
|
||||
return undefined;
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user