Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
djdjz7 authored Dec 20, 2024
1 parent 583cebf commit e1fa768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MainComponent.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script setup lang="ts">
import { useRoute } from '@/router/router';
import { shallowRef, watch } from 'vue';
const route = useRoute(() => null);
const route = useRoute(() => undefined);
const component = shallowRef(route.mainComponent);
watch(route, (newVal) => {
Expand Down

0 comments on commit e1fa768

Please sign in to comment.