Skip to content

Commit 153eaf3

Browse files
committed
fix: bad import
1 parent 63092dc commit 153eaf3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

app/components/Package/TimelineChart.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const props = defineProps<{
3131
3232
const { settings } = useSettings()
3333
const route = useRoute('timeline')
34-
const chart = ref<typeof VueUiXy | null>(null)
34+
const chart = ref<InstanceType<typeof VueUiXy> | null>(null)
3535
const activeVersion = computed(() => route.params.version)
3636
3737
const packageName = computed(() =>
@@ -86,7 +86,8 @@ const convertedData = computed(() => {
8686
8787
watch(
8888
() => convertedData.value,
89-
() => {
89+
async () => {
90+
await nextTick()
9091
chart.value?.resetZoom()
9192
},
9293
{ flush: 'post' },

0 commit comments

Comments
 (0)