Fix missing title and description on video page

This commit is contained in:
Kamran Ahmed committed 2021-09-05 22:13:49 +02:00
1 parent cb2f4de1eb
commit e7332b0c2d
1 file changed
+2
+2
View File
@@ -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}