This commit is contained in:
Prayag Prajapati committed 2023-01-28 14:59:56 +05:30
1 parent 8d3c30f4d0
commit be915011be
7 files changed
+5372 -5336

No files matched your search

+3 -1
View File
@@ -19,6 +19,7 @@ import { EventEmitter as event } from "./eventEmitter.js";
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
// Theming
import CssBaseline from "@mui/material/CssBaseline";
import { theme } from "./theme";
import "./styles/global.scss";
@@ -97,7 +98,7 @@ const AnimationWrapper = () => {
);
};
function App() {
function App({ hideLoader }) {
const [userCookies] = useCookies(["user"]);
const navigate = useNavigate();
const cookies = new Cookies();
@@ -169,6 +170,7 @@ function App() {
<SnackbarProvider maxSnack={5}>
<ThemeProvider theme={theme}>
<AnimatePresence>
<CssBaseline />
<Routes key={location.pathname} location={location}>
<Route element={<AnimationWrapper />}>
{/* Main Routes */}