mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-16 15:09:28 +00:00
bugfix:
修复编译bug
This commit is contained in:
@@ -2,6 +2,9 @@ import Link from 'next/link'
|
||||
import React from 'react'
|
||||
|
||||
const CategoryList = ({ currentCategory, categories }) => {
|
||||
if (!categories) {
|
||||
return <></>
|
||||
}
|
||||
return <ul className='flex py-1 space-x-3'>
|
||||
<li className='w-10 py-2 dark:text-gray-200'>分类:</li>
|
||||
{Object.keys(categories).map(category => {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import Link from 'next/link'
|
||||
import React from 'react'
|
||||
|
||||
/**
|
||||
* 横向的标签列表
|
||||
@@ -8,6 +9,9 @@ import Link from 'next/link'
|
||||
* @constructor
|
||||
*/
|
||||
const TagList = ({ tags, currentTag }) => {
|
||||
if (!tags) {
|
||||
return <></>
|
||||
}
|
||||
return <ul className='flex py-1 space-x-3'>
|
||||
<li className='w-10 py-2 dark:text-gray-200'>标签:</li>
|
||||
{tags.map(tag => {
|
||||
|
||||
Reference in New Issue
Block a user