diff --git a/src/App.tsx b/src/App.tsx index 18db4b8..fcb3d31 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -12,7 +12,7 @@ function App() { setMovies(data) } ) - }) + }, []) /*function sortByYear(a: Movie, b: Movie): number { return a.releaseYear < b.releaseYear ? -1 : 1