(fix) broken types

This commit is contained in:
kakkokari-gtyih 2023-07-15 17:32:59 +09:00
parent 0f504aa51a
commit 10ddf39326

View File

@ -9,7 +9,7 @@ type NavItem = {
to: string; to: string;
} | { } | {
/** アイコンsvgをインポートして貼り付け */ /** アイコンsvgをインポートして貼り付け */
icon: FunctionalComponent; icon: FunctionalComponent | string;
/** リンク先 */ /** リンク先 */
to: string; to: string;
}; };
@ -36,6 +36,10 @@ export default <{
{ {
i18n: '_nav.blog', i18n: '_nav.blog',
to: '/blog/', to: '/blog/',
},
{
i18n: '_nav.other',
to: '/learn-more/',
} }
], ],
right: [ right: [