fix: use avatar/banner URLs directly, not through posterUrl()
Some checks failed
CI / Check / Test (push) Failing after 11m13s

This commit is contained in:
2026-06-04 04:30:38 +02:00
parent fd9a053702
commit af8e58aeb8
2 changed files with 3 additions and 5 deletions

View File

@@ -9,7 +9,6 @@ import { MovieCard } from "@/components/movie-card"
import { EmptyState } from "@/components/empty-state"
import { SwipeTabs } from "@/components/swipe-tabs"
import { VirtualList } from "@/components/virtual-list"
import { posterUrl } from "@/lib/api/client"
import { useInfiniteDiary } from "@/hooks/use-diary"
import type { UserProfileResponse } from "@/lib/api/users"
@@ -40,7 +39,7 @@ export function ProfileView({
<div className="space-y-4">
<div className="flex items-center gap-4">
<Avatar size="lg">
{avatar && <AvatarImage src={posterUrl(avatar)} />}
{avatar && <AvatarImage src={avatar} />}
<AvatarFallback>{initial}</AvatarFallback>
</Avatar>
<div className="flex-1">