From d480b585002860750a7a5937884c302780621090 Mon Sep 17 00:00:00 2001 From: CanisMinor Date: Mon, 8 Apr 2024 11:43:37 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20FIx=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/slots/Navbar/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slots/Navbar/index.tsx b/src/slots/Navbar/index.tsx index 7d2f6fc..43a35d5 100644 --- a/src/slots/Navbar/index.tsx +++ b/src/slots/Navbar/index.tsx @@ -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 || '') ? ( {item.title}