mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-22 08:53:49 +01:00
(fix) broken types
This commit is contained in:
parent
0f504aa51a
commit
10ddf39326
@ -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: [
|
||||
|
Loading…
Reference in New Issue
Block a user