Skip to content
This repository has been archived by the owner on Dec 24, 2024. It is now read-only.

Commit

Permalink
feat(vod): use video title for doc title
Browse files Browse the repository at this point in the history
  • Loading branch information
Zibbp committed Jan 22, 2023
1 parent 867516b commit b45f1ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/vods/[vodId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import Error from "next/error";
import NewVideoPlayer from "../../components/Vod/NewVideoPlayer";
import getConfig from "next/config";
import VodLoginRequired from "../../components/Vod/LoginRequred";
import Head from "next/head";

const useStyles = createStyles((theme) => ({
videoPlayerColumn: {
Expand Down Expand Up @@ -68,6 +69,9 @@ const VodPage = (props: any) => {

return (
<div>
<Head>
<title>{data.title} - Ganymede</title>
</Head>
{checkLoginRequired() && <VodLoginRequired {...data} />}
{!checkLoginRequired() && (
<div>
Expand Down

0 comments on commit b45f1ff

Please sign in to comment.