malvika2003's picture
Upload folder using huggingface_hub
db5855f verified
raw
history blame
810 Bytes
import { ContentSection } from '@components/ContentSection/ContentSection';
import { FiltersPanel } from '@components/FiltersPanel/FiltersPanel';
import { Header } from '@components/Header/Header';
import { isEmbedded } from '@/shared/iframe-detector';
import { NotebooksContext, useNotebooksSelector } from './shared/notebooks-context';
function App(): JSX.Element {
const notebooksSelector = useNotebooksSelector();
return (
<>
{!isEmbedded && <Header />}
<main className="flex-col flex-1">
<div className="flex flex-1">
<NotebooksContext.Provider value={notebooksSelector}>
<FiltersPanel />
<ContentSection />
</NotebooksContext.Provider>
</div>
</main>
</>
);
}
export default App;