fix: add missing poster src attribute
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
"use client";
|
||||
|
||||
import { Egg, Film, Loader2, PlusCircle, Search, Tv } from "lucide-react";
|
||||
import { useState } from "react";
|
||||
import { toast } from "sonner";
|
||||
import { Search, Loader2, Film, Tv, PlusCircle, Egg } from "lucide-react";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import {
|
||||
Dialog,
|
||||
@@ -66,8 +66,7 @@ export function SearchRequestModal({
|
||||
<Search className="h-6 w-6" /> PECK FOR FEED
|
||||
</DialogTitle>
|
||||
</div>
|
||||
<DialogDescription className="text-primary-foreground/90 font-bold italic">
|
||||
</DialogDescription>
|
||||
<DialogDescription className="text-primary-foreground/90 font-bold italic"></DialogDescription>
|
||||
</DialogHeader>
|
||||
|
||||
<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">
|
||||
{r.posterPath ? (
|
||||
<img
|
||||
src={`https://image.tmdb.org/t/p/w200${r.posterPath}`}
|
||||
alt={r.title || r.name}
|
||||
className="h-full w-full object-cover group-hover:scale-110 transition-transform duration-300"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user