perf(client): use shallowRef for html element ref
This commit is contained in:
@@ -86,7 +86,7 @@ window.addEventListener('resize', () => {
|
||||
});
|
||||
|
||||
let pageMetadata = $ref<null | ComputedRef<PageMetadata>>();
|
||||
const widgetsEl = $ref<HTMLElement>();
|
||||
const widgetsEl = $shallowRef<HTMLElement>();
|
||||
const widgetsShowing = $ref(false);
|
||||
|
||||
provide('router', mainRouter);
|
||||
|
Reference in New Issue
Block a user