add webhook gitea

This commit is contained in:
joseph le 2023-09-20 15:37:09 +07:00
parent 122c7d7589
commit 8204e0f0b7
1 changed files with 1 additions and 8 deletions

View File

@ -1158,14 +1158,7 @@ const TestDevice = ({ socket, user }) => {
socket?.on("sendListDeviceOn", (data) => {
setListDeviceOn(data);
// data.map((t) => {
// // if (listTestAuto.filter((item) => item.id === t.id).length === 0) {
// temp.push(t.infoLine);
// station_temp.push(t.station);
// listMode.push(t.mode);
// // setListTestAuto((listTestAuto) => [...listTestAuto, t])
// // }
// });
let temp = [];
let station_temp = [];
let listMode = [];