Skip to content

Commit b292d32

Browse files
committed
fix: remove unused function and console log
1 parent 07a90b0 commit b292d32

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

src/api/BenchmarkServices.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,4 @@ export class BenchmarkServices {
3232
return response.data;
3333
});
3434
}
35-
36-
static async getBenchmarkById(id: string): Promise<benchmarkModel> {
37-
return axios
38-
.get(`${process.env.REACT_APP_API_ENDPOINT}/benchmarks/${id}`)
39-
.then((response) => {
40-
return response.data;
41-
});
42-
}
4335
}

src/hooks/benchmark.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export default function useBenchmarkDetail(id: string) {
1616
},
1717
},
1818
);
19-
console.log(data);
2019
return data;
2120
}
2221
});

0 commit comments

Comments
 (0)