mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
fix
This commit is contained in:
@@ -9,6 +9,8 @@ import { useGlobal } from '@/lib/global'
|
||||
* @returns
|
||||
*/
|
||||
export default function ArticleRecommend({ recommendPosts, siteInfo }) {
|
||||
const { locale } = useGlobal()
|
||||
|
||||
if (
|
||||
!CONFIG_HEXO.ARTICLE_RECOMMEND ||
|
||||
!recommendPosts ||
|
||||
@@ -16,7 +18,7 @@ export default function ArticleRecommend({ recommendPosts, siteInfo }) {
|
||||
) {
|
||||
return <></>
|
||||
}
|
||||
const { locale } = useGlobal()
|
||||
|
||||
return (
|
||||
<div className="p-2">
|
||||
<div className=" mb-2 px-1 flex flex-nowrap justify-between">
|
||||
|
||||
Reference in New Issue
Block a user