diff options
Diffstat (limited to 'src/app/movies/components/trending.jsx')
| -rw-r--r-- | src/app/movies/components/trending.jsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app/movies/components/trending.jsx b/src/app/movies/components/trending.jsx index b12d068..be2a2e1 100644 --- a/src/app/movies/components/trending.jsx +++ b/src/app/movies/components/trending.jsx @@ -1,10 +1,12 @@ import { TRENDING } from "../../../../utils/movie_urls"; +import PreFetchMovieInfo from "./cacher"; import styles from "../styles/pop_trend.module.css"; import Link from "next/link"; import Image from "next/image"; export default async function TREDNING_MOVIES() { const data = await get_popular(); + PreFetchMovieInfo(data); return ( <main className={styles.Main}> @@ -29,6 +31,7 @@ export default async function TREDNING_MOVIES() { backgroundRepeat: "no-repeat", backgroundSize: "cover", }} + className={styles.MovieEntryPrev} > <div className={styles.MovieEntry}> <Image |