feat: add continue watching section to the release page

This commit is contained in:
Kentai Radiquum 2025-04-06 20:35:24 +05:00
parent ff2dbdfac1
commit bdbb8cc548
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
3 changed files with 98 additions and 4 deletions

View file

@ -18,6 +18,7 @@ import { CommentsMain } from "#/components/Comments/Comments.Main";
import { InfoLists } from "#/components/InfoLists/InfoLists";
import { ENDPOINTS } from "#/api/config";
import { usePreferencesStore } from "#/store/preferences";
import { ContinueWatching } from "#/components/ContinueWatching/ContinueWatching";
export const ReleasePage = (props: any) => {
const userStore = useUserStore();
@ -167,6 +168,7 @@ export const ReleasePage = (props: any) => {
related_releases={data.release.related_releases}
/>
)}
{userStore.token && <ContinueWatching />}
<div className="block lg:hidden">
<CommentsMain
release_id={props.id}