Skip to content

Commit e3f7955

Browse files
committed
console logs removed
1 parent 454f3fe commit e3f7955

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/context/HealthContext.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ interface HealthDataObject {
3333

3434
const HealthContextProvider: React.FC<Props> = React.memo(({ children }) => {
3535
const [healthData, setHealthData] = useState<any>({ healthDataList: [], healthTimeList: [] });
36+
console.log({healthData})
3637
const [services, setServices] = useState<Array<string>>([]);
3738
console.log({services})
3839

@@ -59,7 +60,6 @@ const HealthContextProvider: React.FC<Props> = React.memo(({ children }) => {
5960

6061
let temp: HealthDataObject[] = [];
6162
servers.map( async (service: string) => {
62-
6363
try {
6464

6565
ipcRenderer.removeAllListeners('healthResponse');
@@ -70,7 +70,6 @@ const HealthContextProvider: React.FC<Props> = React.memo(({ children }) => {
7070
temp.push(response[0]);
7171

7272
if(temp.length === servers.length) {
73-
console.log(temp.length,servers.length)
7473
setServices([`${service}`]);
7574
let transformedData: any = {};
7675
console.log({temp})

0 commit comments

Comments
 (0)