mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-30 18:09:40 +05:00
feat: add continue watching section to the release page
This commit is contained in:
parent
ff2dbdfac1
commit
bdbb8cc548
3 changed files with 98 additions and 4 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue