ChandimaPrabath
commited on
Commit
•
3529dfb
1
Parent(s):
758eb79
fix error
Browse files
frontend/src/app/movies/page.js
CHANGED
@@ -45,8 +45,10 @@ export default function FilmsPage() {
|
|
45 |
return (
|
46 |
<div className="films-page-container">
|
47 |
<div className="films-page">
|
48 |
-
{currentFilms.map(title => (
|
49 |
-
<Link href={`/movie/${title}`}
|
|
|
|
|
50 |
))}
|
51 |
</div>
|
52 |
<div className="pagination-controls">
|
|
|
45 |
return (
|
46 |
<div className="films-page-container">
|
47 |
<div className="films-page">
|
48 |
+
{currentFilms.map((title, index) => (
|
49 |
+
<Link key={index} href={`/movie/${title}`}>
|
50 |
+
<MovieCard title={title} />
|
51 |
+
</Link>
|
52 |
))}
|
53 |
</div>
|
54 |
<div className="pagination-controls">
|