Fix library page not displaying all items #183 #182

This commit is contained in:
Prayag Prajapati committed 2023-09-30 19:11:39 +05:30
1 parent 3d75c08979
commit 52faaef201
16 files changed
+1569 -558

No files matched your search

+3 -8
View File
@@ -1,6 +1,6 @@
/** @format */
import { useState } from "react";
import React, { useState } from "react";
import { useQuery } from "@tanstack/react-query";
@@ -33,6 +33,7 @@ import CarouselSlide from "../../components/carouselSlide";
import { BaseItemKind, ItemFields } from "@jellyfin/sdk/lib/generated-client";
import ErrorBoundary from "../../components/errorBoundary";
import Typography from "@mui/material/Typography";
import CarouselSlideError from "../../components/errors/carousel";
const Home = () => {
const authUser = useQuery({
@@ -216,13 +217,7 @@ const Home = () => {
position: "relative",
}}
>
<ErrorBoundary
fallback={
<div className="error">
<Typography>Error with Carousel</Typography>
</div>
}
>
<ErrorBoundary fallback={<CarouselSlideError />}>
{latestMedia.isLoading ? (
<CarouselSkeleton />
) : (