fix: compilation error when not setting highlight

This commit is contained in:
lyc8503 committed 2023-11-22 16:00:04 +08:00
1 parent 22ed19e1b2
commit 110a6b548d
1 file changed
+1 -1
+1 -1
View File
@@ -42,7 +42,7 @@ export default function Header() {
</Group>
<Group gap={5} hiddenFrom="sm">
{config.page.links.filter((link) => link.highlight).map(linkToElement)}
{config.page.links.filter((link) => (link as any).highlight).map(linkToElement)}
</Group>
</Container>
</header>