fix-build

This commit is contained in:
tangly1024
2023-03-26 12:02:31 +08:00
parent cdcf7b5f0b
commit e2e93c2a3f
10 changed files with 45 additions and 29 deletions

View File

@@ -37,6 +37,10 @@ export default function TopNavBar(props) {
links = customMenu
}
if (!links || links.length === 0) {
return null
}
return (
<div id='top-nav' className={'sticky top-0 lg:relative w-full z-40 ' + className}>