matery build

This commit is contained in:
tangly1024.com
2023-06-27 16:31:58 +08:00
parent 0ee314abe6
commit 693463eafc

View File

@@ -15,7 +15,7 @@ export const LayoutCategory = props => {
<div className="drop-shadow-xl -mt-32 rounded-md mx-3 px-5 lg:border lg:rounded-xl lg:px-2 lg:py-4 bg-white dark:bg-hexo-black-gray dark:border-black">
<div className='flex justify-center flex-wrap'>
{categoryOptions.map(e => {
{categoryOptions?.map(e => {
const selected = e.name === category
return (
<Link key={e.name} href={`/category/${e.name}`} passHref legacyBehavior>