фронт

This commit is contained in:
test 2025-06-09 10:31:14 +05:00
parent eb1f18f53e
commit d67ea17fd7
160 changed files with 2611 additions and 5680 deletions

View file

@ -1,21 +0,0 @@
export const updateWifiData = (wifiData: any, nodes: any)=>{
const wifiName = wifiData.name;
const updatedNodes = nodes.map((node: any) => {
if (node.data.networkData && node.data.networkData.device === wifiName) {
return {
...node,
data: {
...node.data,
networkData: {
...node.data.networkData,
strength: wifiData.strength,
},
},
};
}
return node;
});
return updatedNodes
}