From ffcd06c629d71733f9dc894e4770ee1b2e293ca5 Mon Sep 17 00:00:00 2001 From: Yunwen Zheng Date: Fri, 14 Nov 2025 12:03:08 -0500 Subject: [PATCH] Git sync: Remove unnecessary comments (#113963) remove comment --- .../provisioning/hooks/useSelectionProvisioningStatus.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/public/app/features/provisioning/hooks/useSelectionProvisioningStatus.ts b/public/app/features/provisioning/hooks/useSelectionProvisioningStatus.ts index c362d9fdeec..5c94e2ede8d 100644 --- a/public/app/features/provisioning/hooks/useSelectionProvisioningStatus.ts +++ b/public/app/features/provisioning/hooks/useSelectionProvisioningStatus.ts @@ -12,8 +12,6 @@ import { useSelector } from 'app/types/store'; import { findItem } from '../../browse-dashboards/state/utils'; import { DashboardTreeSelection } from '../../browse-dashboards/types'; -// TODO: This will soon be remove after bulk action is merged in - // This hook can be remove once searching endpoint returns provisioning status // It is used to determine if the selected items are provisioned or not, which is currently missing from the search API export function useSelectionProvisioningStatus( @@ -41,8 +39,6 @@ export function useSelectionProvisioningStatus( [] ); - // Simplified: removed complex root folder tracking logic - const findItemInState = useCallback( (uid: string) => { const item = findItem(browseState.rootItems?.items || [], browseState.childrenByParentUID, uid);