diff options
Diffstat (limited to 'app/components')
| -rw-r--r-- | app/components/EventCard.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/components/EventCard.tsx b/app/components/EventCard.tsx index 6651ff9..b23742d 100644 --- a/app/components/EventCard.tsx +++ b/app/components/EventCard.tsx @@ -1,5 +1,6 @@ import { Link } from "react-router"; import type { Event } from "~/lib/db.server"; +import { proxyImageUrl } from "~/lib/image-proxy"; interface Props { event: Event; @@ -16,7 +17,7 @@ export default function EventCard({ event }: Props) { > {event.image_url ? ( <img - src={event.image_url} + src={proxyImageUrl(event.image_url)!} alt={event.title} className="h-36 w-full object-cover" /> |
