fix: add missing poster src attribute

This commit is contained in:
2026-04-23 12:16:44 -04:00
parent 515dba07ac
commit ad85beef6b
@@ -1,8 +1,8 @@
"use client"; "use client";
import { Egg, Film, Loader2, PlusCircle, Search, Tv } from "lucide-react";
import { useState } from "react"; import { useState } from "react";
import { toast } from "sonner"; import { toast } from "sonner";
import { Search, Loader2, Film, Tv, PlusCircle, Egg } from "lucide-react";
import { Button } from "@/components/ui/button"; import { Button } from "@/components/ui/button";
import { import {
Dialog, Dialog,
@@ -66,8 +66,7 @@ export function SearchRequestModal({
<Search className="h-6 w-6" /> PECK FOR FEED <Search className="h-6 w-6" /> PECK FOR FEED
</DialogTitle> </DialogTitle>
</div> </div>
<DialogDescription className="text-primary-foreground/90 font-bold italic"> <DialogDescription className="text-primary-foreground/90 font-bold italic"></DialogDescription>
</DialogDescription>
</DialogHeader> </DialogHeader>
<div className="p-6 space-y-6 font-sans"> <div className="p-6 space-y-6 font-sans">
@@ -100,6 +99,7 @@ export function SearchRequestModal({
<div className="relative h-28 w-20 flex-shrink-0 overflow-hidden rounded-xl border-2 border-foreground bg-muted shadow-sm"> <div className="relative h-28 w-20 flex-shrink-0 overflow-hidden rounded-xl border-2 border-foreground bg-muted shadow-sm">
{r.posterPath ? ( {r.posterPath ? (
<img <img
src={`https://image.tmdb.org/t/p/w200${r.posterPath}`}
alt={r.title || r.name} alt={r.title || r.name}
className="h-full w-full object-cover group-hover:scale-110 transition-transform duration-300" className="h-full w-full object-cover group-hover:scale-110 transition-transform duration-300"
/> />