mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-08-29 03:55:38 -04:00
Fix missing userStatus on title cards across dashboard, recommendations, and filmography
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -16,6 +16,7 @@ export async function LibrarySection({ userId }: { userId: string }) {
|
||||
posterPath: tmdbImageUrl(t.posterPath, "w500"),
|
||||
releaseDate: t.releaseDate ?? t.firstAirDate,
|
||||
voteAverage: t.voteAverage,
|
||||
userStatus: t.userStatus as "watchlist" | "in_progress" | "completed",
|
||||
}));
|
||||
|
||||
return (
|
||||
|
||||
@@ -10,6 +10,7 @@ interface TitleGridItem {
|
||||
posterPath: string | null;
|
||||
releaseDate?: string | null;
|
||||
voteAverage?: number | null;
|
||||
userStatus?: "watchlist" | "in_progress" | "completed" | null;
|
||||
}
|
||||
|
||||
export function TitleGrid({ items }: { items: TitleGridItem[] }) {
|
||||
@@ -29,6 +30,7 @@ export function TitleGrid({ items }: { items: TitleGridItem[] }) {
|
||||
posterPath={t.posterPath}
|
||||
releaseDate={t.releaseDate}
|
||||
voteAverage={t.voteAverage}
|
||||
userStatus={t.userStatus}
|
||||
/>
|
||||
</div>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user