chore(core): use define slots

This commit is contained in:
braks
2023-10-30 13:36:07 +01:00
committed by Braks
parent e51c7e9c17
commit c32c0df4fa
2 changed files with 6 additions and 6 deletions
@@ -1,7 +1,7 @@
<script lang="ts" setup>
import type { D3ZoomEvent } from 'd3-zoom'
import { useVModel } from '@vueuse/core'
import { onMounted, onUnmounted, provide, ref, useSlots } from 'vue'
import type { D3ZoomEvent } from 'd3-zoom'
import Viewport from '../Viewport/Viewport.vue'
import A11yDescriptions from '../../components/A11y/A11yDescriptions.vue'
import type { FlowElements, FlowProps } from '../../types/flow'
@@ -188,7 +188,7 @@ export default {
</template>
</template>
<template #connection-name>
<template #connection-line>
<slot name="connection-line" />
</template>