Skip to content

Commit

Permalink
🐛 fix: FIx build
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 authored Apr 8, 2024
1 parent 281bca4 commit d480b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slots/Navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const Navbar = memo(() => {
className={styles.tabs}
items={nav.map((item) => ({
key: String(item.activePath! || item.link),
label: /^(\w+:)\/\/|^(mailto|tel):/.test(item.link) ? (
label: /^(\w+:)\/\/|^(mailto|tel):/.test(item.link || '') ? (
<a className={styles.link} href={String(item.link)} rel="noreferrer" target="_blank">
{item.title}
</a>
Expand Down

0 comments on commit d480b58

Please sign in to comment.