-
{ listSimilar(config, movie, setMovies) }}>
-
+
clickHandler()}>
+

console.log("LOADED IMG")}
+ />
}
diff --git a/src/objects/sidebar.tsx b/src/objects/sidebar.tsx
index 3e6281b..c6d1c51 100644
--- a/src/objects/sidebar.tsx
+++ b/src/objects/sidebar.tsx
@@ -1,11 +1,12 @@
import React from "react";
import { Movie } from "./movie-wall";
+import tmdb from "./tmdb";
export interface SidebarProps extends React.ComponentPropsWithRef<"div"> {
movie: Movie;
}
export function Sidebar({ movie }: SidebarProps) {
const style = {
-
+ backgroundImage: tmdb.makeBgImgUrl(movie.backdrop_path ?? "")
}
return