mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-25 15:26:43 -06:00
clean up
This commit is contained in:
parent
fed59b1b71
commit
55c6f5a740
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ export class MisskeyNavigator {
|
||||||
|
|
||||||
// It should be constructed during vue creating in order for inject function to work
|
// It should be constructed during vue creating in order for inject function to work
|
||||||
constructor() {
|
constructor() {
|
||||||
this.navHook = inject<null | Navigate>('navHook', null);
|
this.navHook = inject<Navigate | null>('navHook', null);
|
||||||
this.sideViewHook = inject<null | Navigate>('sideViewHook', null);
|
this.sideViewHook = inject<Navigate | null>('sideViewHook', null);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use this method instead of router.push()
|
// Use this method instead of router.push()
|
||||||
|
|
Loading…
Reference in a new issue