File tree Expand file tree Collapse file tree
examples/discover_customization_examples/public Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import { KibanaThemeProvider } from '@kbn/react-kibana-context-theme';
2727import { DataPublicPluginStart } from '@kbn/data-plugin/public' ;
2828import { SavedSearchPublicPluginStart } from '@kbn/saved-search-plugin/public' ;
2929import type { SOWithMetadata } from '@kbn/content-management-utils' ;
30- import type { DiscoverSessionAttributes } from '@kbn/saved-search-plugin/server/saved_objects/schema ' ;
30+ import type { SavedSearchAttributes } from '@kbn/saved-search-plugin/common ' ;
3131import image from './discover_customization_examples.png' ;
3232
3333export interface DiscoverCustomizationExamplesSetupPlugins {
@@ -116,7 +116,7 @@ export class DiscoverCustomizationExamplesPlugin implements Plugin {
116116 const togglePopover = ( ) => setIsPopoverOpen ( ( open ) => ! open ) ;
117117 const closePopover = ( ) => setIsPopoverOpen ( false ) ;
118118 const [ savedSearches , setSavedSearches ] = useState <
119- Array < SOWithMetadata < DiscoverSessionAttributes > >
119+ Array < SOWithMetadata < SavedSearchAttributes > >
120120 > ( [ ] ) ;
121121
122122 useEffect ( ( ) => {
You can’t perform that action at this time.
0 commit comments