forked from FoundKeyGang/FoundKey
perf(client): remove needless reactivity
This commit is contained in:
parent
03ea6763e1
commit
761d5347d2
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ if (router == null) {
|
|||
throw new Error('no router provided');
|
||||
}
|
||||
|
||||
let currentPageComponent = $ref(router.getCurrentComponent());
|
||||
let currentPageComponent = $shallowRef(router.getCurrentComponent());
|
||||
let currentPageProps = $ref(router.getCurrentProps());
|
||||
let key = $ref(router.getCurrentKey());
|
||||
|
||||
|
|
Loading…
Reference in a new issue