修复未使用变量的构建错误

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-07-04 17:58:54 +08:00
parent aa76c19aff
commit 0be67be799
+1 -1
View File
@@ -250,7 +250,7 @@ export function Layout() {
)
}
>
{({ isActive }) => (
{() => (
<>
<Icon className="h-4 w-4 shrink-0" />
<span className="flex-1">{label}</span>