diff --git a/public/app/features/alerting/unified/rule-list/filter/SavedSearches.tsx b/public/app/features/alerting/unified/rule-list/filter/SavedSearches.tsx index 0d4391642f0..50b8290f160 100644 --- a/public/app/features/alerting/unified/rule-list/filter/SavedSearches.tsx +++ b/public/app/features/alerting/unified/rule-list/filter/SavedSearches.tsx @@ -387,7 +387,7 @@ interface ListModeProps { hasSearches: boolean; canSave: boolean; activeAction: ActiveAction; - saveButtonRef: React.RefObject; + saveButtonRef: React.RefObject; isLoading: boolean; onStartSave: () => void; /** Callback to complete save. Throws ValidationError on validation failure. */ diff --git a/public/app/features/dashboard-scene/scene/layout-default/DashboardGridItemRenderer.tsx b/public/app/features/dashboard-scene/scene/layout-default/DashboardGridItemRenderer.tsx index 214566fdce1..c17cbbfa9b5 100644 --- a/public/app/features/dashboard-scene/scene/layout-default/DashboardGridItemRenderer.tsx +++ b/public/app/features/dashboard-scene/scene/layout-default/DashboardGridItemRenderer.tsx @@ -15,7 +15,7 @@ import { DashboardGridItem, RepeatDirection } from './DashboardGridItem'; interface PanelWrapperProps { panel: VizPanel; isLazy: boolean; - containerRef?: RefObject; + containerRef?: RefObject; } function PanelWrapper({ panel, isLazy, containerRef }: PanelWrapperProps) { diff --git a/public/app/features/dashboard-scene/solo/SoloPanelPageLogo.test.tsx b/public/app/features/dashboard-scene/solo/SoloPanelPageLogo.test.tsx index bbfe0c5bcdd..c29d78349bb 100644 --- a/public/app/features/dashboard-scene/solo/SoloPanelPageLogo.test.tsx +++ b/public/app/features/dashboard-scene/solo/SoloPanelPageLogo.test.tsx @@ -33,7 +33,7 @@ global.ResizeObserver = jest.fn().mockImplementation((callback) => { }); // Helper function to assign a mock div to a ref -function assignMockDivToRef(ref: React.RefObject, mockDiv: HTMLDivElement) { +function assignMockDivToRef(ref: React.RefObject, mockDiv: HTMLDivElement) { // Use type assertion to bypass readonly restriction in tests (ref as { current: HTMLDivElement | null }).current = mockDiv; } diff --git a/public/app/features/dashboard-scene/solo/SoloPanelPageLogo.tsx b/public/app/features/dashboard-scene/solo/SoloPanelPageLogo.tsx index 43889049807..f6807c9068d 100644 --- a/public/app/features/dashboard-scene/solo/SoloPanelPageLogo.tsx +++ b/public/app/features/dashboard-scene/solo/SoloPanelPageLogo.tsx @@ -8,7 +8,7 @@ import grafanaTextLogoDarkSvg from 'img/grafana_text_logo_dark.svg'; import grafanaTextLogoLightSvg from 'img/grafana_text_logo_light.svg'; interface SoloPanelPageLogoProps { - containerRef: React.RefObject; + containerRef: React.RefObject; isHovered: boolean; hideLogo?: UrlQueryValue; } diff --git a/public/app/features/explore/QueryLibrary/QueryLibraryContext.tsx b/public/app/features/explore/QueryLibrary/QueryLibraryContext.tsx index 6138829632a..acb710bacd1 100644 --- a/public/app/features/explore/QueryLibrary/QueryLibraryContext.tsx +++ b/public/app/features/explore/QueryLibrary/QueryLibraryContext.tsx @@ -44,7 +44,7 @@ export type QueryLibraryContextType = { onUpdateSuccess?: () => void, onSelectQuery?: (query: DataQuery) => void, datasourceFilters?: string[], - parentRef?: React.RefObject + parentRef?: React.RefObject ) => ReactNode; /** diff --git a/public/app/features/panel/components/VizTypePicker/VisualizationSuggestionCard.tsx b/public/app/features/panel/components/VizTypePicker/VisualizationSuggestionCard.tsx index 632c143fe3a..96612ce2940 100644 --- a/public/app/features/panel/components/VizTypePicker/VisualizationSuggestionCard.tsx +++ b/public/app/features/panel/components/VizTypePicker/VisualizationSuggestionCard.tsx @@ -60,12 +60,7 @@ export function VisualizationSuggestionCard({ content = (