Skip to content

Commit

Permalink
fix(ui): remove debug logs from ClusterDetail component
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotxx committed Nov 27, 2024
1 parent 429ffd1 commit 894d521
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ui/src/pages/insightDetail/resource/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,11 @@ const ClusterDetail = () => {

useEffect(() => {
if (clusterDetailResponse?.success) {
console.log('Received cluster detail response:', clusterDetailResponse) // Debug log
setYamlData(clusterDetailResponse?.data)
}
}, [clusterDetailResponse])

function getClusterDetail() {
console.log('Fetching cluster detail...') // Debug log
clusterDetailRefetch({
url: '/rest-api/v1/insight/detail',
option: {
Expand Down

0 comments on commit 894d521

Please sign in to comment.