1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-05 02:08:56 +09:00
This commit is contained in:
tamaina 2022-04-17 01:25:45 +09:00
parent fed59b1b71
commit 55c6f5a740

View File

@ -10,8 +10,8 @@ export class MisskeyNavigator {
// It should be constructed during vue creating in order for inject function to work
constructor() {
this.navHook = inject<null | Navigate>('navHook', null);
this.sideViewHook = inject<null | Navigate>('sideViewHook', null);
this.navHook = inject<Navigate | null>('navHook', null);
this.sideViewHook = inject<Navigate | null>('sideViewHook', null);
}
// Use this method instead of router.push()