Complete EpisodeTitlePage #160

This commit is contained in:
Prayag Prajapati committed 2023-09-20 16:30:13 +05:30
1 parent 59e8ceb99c
commit e552178b72
17 files changed
+493 -138

No files matched your search

+11 -5
View File
@@ -72,13 +72,17 @@ import { delUser, getUser } from "./utils/storage/user.js";
import axios from "axios";
import { useBackdropStore } from "./utils/store/backdrop.js";
import { usePlaybackDataLoadStore } from "./utils/store/playback.js";
import {
usePlaybackDataLoadStore,
usePlaybackStore,
} from "./utils/store/playback.js";
import BoxSetTitlePage from "./routes/boxset/index.jsx";
import PersonTitlePage from "./routes/person/index.jsx";
import MusicAlbumTitlePage from "./routes/album/index.jsx";
import AudioPlayer from "./components/playback/audioPlayer/index.jsx";
import { useAudioPlayback } from "./utils/store/audioPlayback.js";
import ArtistTitlePage from "./routes/artist/index.jsx";
import EpisodeTitlePage from "./routes/episode/index.jsx";
const jellyfin = new Jellyfin({
clientInfo: {
@@ -268,9 +272,6 @@ function App() {
};
const location = useLocation();
useEffect(() => {
window.scrollTo(0, 0);
}, [location.pathname]);
if (!window.api) {
serverAvailable().then((available) => {
@@ -489,6 +490,11 @@ function App() {
path="/boxset/:id"
element={<BoxSetTitlePage />}
/>
<Route
exact
path="/episode/:id"
element={<EpisodeTitlePage />}
/>
<Route
exact
path="/person/:id"
@@ -519,7 +525,7 @@ function App() {
</Route>
</Routes>
</div>
{/* <ReactQueryDevtools /> */}
<ReactQueryDevtools />
</ThemeProvider>
</SnackbarProvider>
);