'use client'; import Preview from '@/components/Movie/Preview'; import Carousel from './components/Carousel'; import useRandomMovie from './useRandomMovie'; import Trending from './components/Trending'; const Random = () => { const { movies, movie, index, onIndexChange, fetchNextPage } = useRandomMovie(); return ( } /> ); }; export default function Container() { return (
); }