From 10ddf3932618986d8c53bbba47c6985e7cf1a840 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih Date: Sat, 15 Jul 2023 17:32:59 +0900 Subject: [PATCH] (fix) broken types --- assets/data/nav.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/data/nav.ts b/assets/data/nav.ts index 44001d57..e3c2b9eb 100644 --- a/assets/data/nav.ts +++ b/assets/data/nav.ts @@ -9,7 +9,7 @@ type NavItem = { to: string; } | { /** アイコン(svgをインポートして貼り付け) */ - icon: FunctionalComponent; + icon: FunctionalComponent | string; /** リンク先 */ to: string; }; @@ -36,6 +36,10 @@ export default <{ { i18n: '_nav.blog', to: '/blog/', + }, + { + i18n: '_nav.other', + to: '/learn-more/', } ], right: [