Fix missing title and description on video page

pull/1331/head
Kamran Ahmed 3 years ago
parent 6545c8de36
commit a1606521d4
  1. 2
      pages/watch/[video].tsx

@ -6,6 +6,7 @@ import { Footer } from '../../components/footer';
import { ContentPageHeader } from '../../components/content-page-header';
import MdRenderer from '../../components/md-renderer';
import { getAllVideos, getVideoById, VideoType } from '../../lib/video';
import Helmet from '../../components/helmet';
type VideoProps = {
video: VideoType;
@ -18,6 +19,7 @@ export default function Video(props: VideoProps) {
return (
<Box bg='white' minH='100vh'>
<GlobalHeader />
<Helmet title={video.title} description={video.description} />
<Box mb='60px'>
<ContentPageHeader
title={video.title}

Loading…
Cancel
Save