fix: compilation error when not setting highlight

pull/5/head
lyc8503 2023-11-22 16:00:04 +08:00
parent 22ed19e1b2
commit 110a6b548d
1 changed files with 1 additions and 1 deletions

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>