diff --git a/packages/client/src/scripts/navigate.ts b/packages/client/src/scripts/navigate.ts index 5e0fd6073..08b891ec5 100644 --- a/packages/client/src/scripts/navigate.ts +++ b/packages/client/src/scripts/navigate.ts @@ -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('navHook', null); - this.sideViewHook = inject('sideViewHook', null); + this.navHook = inject('navHook', null); + this.sideViewHook = inject('sideViewHook', null); } // Use this method instead of router.push()