mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-02 23:16:51 +00:00
fix s bug
This commit is contained in:
@@ -48,9 +48,9 @@ export default function PostHeader({ post, siteInfo }) {
|
||||
|
||||
{post.tagItems && (
|
||||
<div className="hidden md:flex justify-center flex-nowrap overflow-x-auto">
|
||||
{post.tagItems.map(tag => (
|
||||
{post.tagItems.map((tag, index) => (
|
||||
<Link
|
||||
key={tag}
|
||||
key={index}
|
||||
href={`/tag/${encodeURIComponent(tag.name)}`}
|
||||
passHref
|
||||
className={'cursor-pointer inline-block text-gray-50 hover:text-white duration-200 py-0.5 px-1 whitespace-nowrap '}>
|
||||
|
||||
Reference in New Issue
Block a user