diff --git a/src/features/particles/Particles.vue b/src/features/particles/Particles.vue index aa963af..8ed509d 100644 --- a/src/features/particles/Particles.vue +++ b/src/features/particles/Particles.vue @@ -13,7 +13,7 @@ import type { StyleValue } from "features/feature"; import "lib/pixi"; import { processedPropType } from "util/vue"; import type { PropType } from "vue"; -import { defineComponent, nextTick, onBeforeUnmount, onMounted, ref, unref } from "vue"; +import { defineComponent, nextTick, onBeforeUnmount, onMounted, ref, shallowRef, unref } from "vue"; // TODO get typing support on the Particles component export default defineComponent({ @@ -32,7 +32,7 @@ export default defineComponent({ onHotReload: Function as PropType }, setup(props) { - const app = ref(null); + const app = shallowRef(null); const resizeObserver = new ResizeObserver(updateBounds); const resizeListener = ref(null);