undo changes to query library cause i cba dealing with enterprise rn
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user