'use client'; import List from '@/components/List'; import useMounted from '@/hooks/useMounted'; import useFavorites from './useFavorites'; export default function Container() { const { shows } = useFavorites(); const isMounted = useMounted(); if (!isMounted) return null; if (!shows.length) return (
There are no items in your favorites list
); return ; }