'use client';
import { FC } from 'react';
import List from '@/components/List';
import NoResults from '@/components/NoResults';
import usePopular from './usePopular';
const Container: FC<{ type: Show['type'] }> = ({ type }) => {
const { shows, fetchNextPage, isFetched } = usePopular(type);
if (isFetched && !shows.length) return ;
return
;
};
export default Container;