diff --git a/themes/magzine/components/ArticleInfo.js b/themes/magzine/components/ArticleInfo.js index ba50b384..782f2e95 100644 --- a/themes/magzine/components/ArticleInfo.js +++ b/themes/magzine/components/ArticleInfo.js @@ -10,7 +10,7 @@ import TagItemMini from './TagItemMini' * @returns */ export default function ArticleInfo(props) { - const { post, siteInfo } = props + const { post } = props return ( <> diff --git a/themes/magzine/components/Footer.js b/themes/magzine/components/Footer.js index c5db92e1..47a11a20 100644 --- a/themes/magzine/components/Footer.js +++ b/themes/magzine/components/Footer.js @@ -8,6 +8,7 @@ import PoweredBy from '@/components/PoweredBy' import { siteConfig } from '@/lib/config' import { useGlobal } from '@/lib/global' import Link from 'next/link' +import CONFIG from '../config' import SocialButton from './SocialButton' /** @@ -15,7 +16,7 @@ import SocialButton from './SocialButton' */ const Footer = ({ title }) => { const { siteInfo } = useGlobal() - const MAGZINE_FOOTER_LINKS = siteConfig('MAGZINE_FOOTER_LINKS', []) + const MAGZINE_FOOTER_LINKS = siteConfig('MAGZINE_FOOTER_LINKS', [], CONFIG) return (