undo changes to query library cause i cba dealing with enterprise rn

This commit is contained in:
Ashley Harrison
2026-01-14 17:20:37 +00:00
parent 86fc051c58
commit e9f164d9f2
2 changed files with 2 additions and 2 deletions
@@ -44,7 +44,7 @@ export type QueryLibraryContextType = {
onUpdateSuccess?: () => void,
onSelectQuery?: (query: DataQuery) => void,
datasourceFilters?: string[],
parentRef?: React.RefObject<HTMLDivElement | null>
parentRef?: React.RefObject<HTMLDivElement>
) => ReactNode;
/**
@@ -613,7 +613,7 @@ function SavedQueryButtons(props: {
onUpdateSuccess?: () => void;
onSelectQuery: (query: DataQuery) => void;
datasourceFilters: string[];
parentRef: React.RefObject<HTMLDivElement | null>;
parentRef: React.RefObject<HTMLDivElement>;
}) {
const { renderSavedQueryButtons } = useQueryLibraryContext();
return renderSavedQueryButtons(