chore(svelte): cleanup

This commit is contained in:
moklick
2023-02-22 11:07:16 +01:00
parent a0bdd9574e
commit fb8d0d677e
5 changed files with 8 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import type { SvelteComponentTyped } from 'svelte';
import { Position } from '@reactflow/system';
import { Position } from '@reactflow/system';
import { useStore } from '$lib/store';
import BezierEdge from '$lib/components/edges/StraightEdge.svelte';

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { getBezierPath } from '@reactflow/edge-utils';
import type { EdgeProps } from '$lib/types';
import type { EdgeProps } from '$lib/types';
interface $$Props extends EdgeProps {}
export let id: $$Props['id'];

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { getSmoothStepPath } from '@reactflow/edge-utils';
import type { EdgeProps } from '$lib/types';
import type { EdgeProps } from '$lib/types';
interface $$Props extends EdgeProps {}
export let id: $$Props['id'];

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { onMount, setContext, SvelteComponentTyped, type ComponentType } from 'svelte';
import { onMount, setContext, SvelteComponentTyped } from 'svelte';
import { type XYPosition, Position } from '@reactflow/system';
import drag from '$lib/actions/drag'
import { useStore } from '$lib/store';
import DefaultNode from './DefaultNode.svelte';

View File

@@ -18,5 +18,4 @@
<Handle type="target" position={targetPosition} />
{data?.label}
<Handle type="source" position={sourcePosition} />
<Handle type="source" position={sourcePosition} />