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