Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
raw
history blame
583 Bytes
import React from 'react';
import { BrowseContainer } from '../containers/browse';
import { useContent } from '../hooks';
import selectionFilter from '../utils/selection-filter';
export default function Browse() {
//we need the series and films also we need slides
const { films } = useContent('films');
const { series } = useContent('series');
//the api works need to work on browse page new timestamp at 4:57:54
const slides = selectionFilter({ series, films });
//pass it to the browse container
return <BrowseContainer slides={slides} />;
}