Tree: revert import strategy
All checks were successful
pipeline / build-and-push-images (push) Successful in 31s
pipeline / deploy (push) Successful in 7s

This commit is contained in:
2024-12-05 00:32:39 +01:00
parent b181ec2f82
commit 387f3f658d

View File

@@ -15,10 +15,11 @@ for(let item of items.value) {
itemMap.set(item.id, item)
}
import { LinePath } from 'svg-dom-arrows';
import pkg from 'svg-dom-arrows';
const { LinePath } = pkg;
const start : Ref<Element | null> = useTemplateRef("start")
const arrows : Array<LinePath> = []
const arrows : Array<pkg.LinePath> = []
onMounted(() => {
refreshArrows()