diff --git a/themes/magzine/components/InfoCard.js b/themes/magzine/components/InfoCard.js
index e6009de1e79..35dd21d2784 100644
--- a/themes/magzine/components/InfoCard.js
+++ b/themes/magzine/components/InfoCard.js
@@ -1,6 +1,7 @@
import LazyImage from '@/components/LazyImage'
import { siteConfig } from '@/lib/config'
import { useGlobal } from '@/lib/global'
+import { useRouter } from 'next/router'
/**
* 用户信息卡
@@ -9,6 +10,7 @@ import { useGlobal } from '@/lib/global'
*/
const InfoCard = props => {
const { siteInfo } = useGlobal()
+ const router = useRouter()
return (
@@ -16,7 +18,7 @@ const InfoCard = props => {
{
- Router.push('/about')
+ router.push('/about')
}}>
{
className={'my-3 flex'}>
diff --git a/themes/magzine/components/PostItemCard.js b/themes/magzine/components/PostItemCard.js
index 632b0273b7e..09a9352ac31 100644
--- a/themes/magzine/components/PostItemCard.js
+++ b/themes/magzine/components/PostItemCard.js
@@ -25,6 +25,7 @@ const PostItemCard = ({ post }) => {
}>
{
}>
{
{/* {siteConfig('MAGZINE_POST_LIST_TAG') &&
post?.tagItems?.map(tag => (
@@ -73,6 +73,7 @@ const PostItemCardWide = ({ post, showSummary }) => {
{/* 卡牌右侧图片 */}