File tree Expand file tree Collapse file tree 3 files changed +1
-19
lines changed Expand file tree Collapse file tree 3 files changed +1
-19
lines changed Original file line number Diff line number Diff line change 1+ {}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ import Reactions from '@/components/Reactions';
2121import { ShareArticle } from '@/components/ShareArticle' ;
2222import { Subscribe } from '@/components/Subscribe' ;
2323import { YoutubeEmbed } from '@/components/YoutubeEmbed' ;
24- import { getTwitterProfilePicture } from '@/lib/twitter' ;
2524import siteMetadata from '@/data/siteMetadata' ;
2625import slugify from 'slugify' ;
2726import { useRouter } from 'next/router' ;
@@ -395,8 +394,6 @@ export const getStaticProps: GetStaticProps = async ({ params: { slug } }) => {
395394 let sponsoredArticleUrl = null ;
396395 let summary = null ;
397396
398- const profilePicture = await getTwitterProfilePicture ( ) ;
399-
400397 const notion = new Client ( {
401398 auth : process . env . NOTION_SECRET
402399 } ) ;
@@ -442,7 +439,6 @@ export const getStaticProps: GetStaticProps = async ({ params: { slug } }) => {
442439 publishedDate,
443440 lastEditedAt,
444441 slug,
445- profilePicture,
446442 coverImage,
447443 summary,
448444 moreArticles,
You can’t perform that action at this time.
0 commit comments