Closed ericahagle closed 10 months ago
const [movies, setMovies] = useState(null);
Since the state should hold an array, we should have the initial state be an empty array instead of null
null
Since the state should hold an array, we should have the initial state be an empty array instead of
null