'use client'; import List from '@/components/Movie/List'; import usePopular from './usePopular'; export default function Container() { const { data: top, hasNextPage, fetchNextPage, isFetched } = usePopular(); return ( <> {isFetched && !top?.pages?.[0]?.results?.length && (
Nothing was found
)} ); }