Cleanup - unused files / unused exports / duplicate exports
[ProtonMail-WebClient.git] / applications / drive / src / app / store / _search / index.tsx
blob3369ee565956a4b1c2f8913496d09907828aa0e7
1 import { SpotlightProvider } from '../../components/useSpotlight';
2 import { SearchLibraryProvider } from './useSearchLibrary';
3 import { SearchResultsProvider } from './useSearchResults';
5 export { default as useSearchLibrary } from './useSearchLibrary';
6 export { default as useSearchResults } from './useSearchResults';
8 export function SearchProvider({ children }: { children: React.ReactNode }) {
9     return (
10         <SearchLibraryProvider>
11             <SearchResultsProvider>
12                 <SpotlightProvider>{children}</SpotlightProvider>
13             </SearchResultsProvider>
14         </SearchLibraryProvider>
15     );