mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-06 03:55:40 +01:00
perf(client): remove needless reactivity
This commit is contained in:
parent
bb68cfaa81
commit
a107dff4d6
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ if (router == null) {
|
||||||
throw new Error('no router provided');
|
throw new Error('no router provided');
|
||||||
}
|
}
|
||||||
|
|
||||||
let currentPageComponent = $ref(router.getCurrentComponent());
|
let currentPageComponent = $shallowRef(router.getCurrentComponent());
|
||||||
let currentPageProps = $ref(router.getCurrentProps());
|
let currentPageProps = $ref(router.getCurrentProps());
|
||||||
let key = $ref(router.getCurrentKey());
|
let key = $ref(router.getCurrentKey());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue