feat: add new library page with performance improvements

This commit is contained in:
Prayag Prajapati committed 2025-11-11 23:51:06 +05:30
1 parent 937e9385f2
commit 11b4a878ac
29 files changed
+2020 -645

No files matched your search

+2 -7
View File
@@ -190,10 +190,7 @@ function Home() {
disableOverlay
onClick={() => {
if (item.Id) {
navigate({
to: "/library/$id",
params: { id: item.Id },
});
navigate({ to: "/library/$id", params: { id: item.Id } });
}
}}
overrideIcon={item.CollectionType}
@@ -209,9 +206,7 @@ function Home() {
</div>
}
>
{upNextItems.isSuccess && !upNextItems.data?.TotalRecordCount ? (
<></>
) : (
{upNextItems.isSuccess && !upNextItems.data?.TotalRecordCount && (
<CardScroller displayCards={4} title="Up Next">
{upNextItems.data?.Items?.map((item) => {
return (