refactor(core): remove unnecessary keys
This commit is contained in:
@@ -12,7 +12,6 @@ import { getMousePosition } from './utils'
|
||||
const { isSelecting } = defineProps<{ isSelecting: boolean }>()
|
||||
|
||||
const {
|
||||
id,
|
||||
vueFlowRef,
|
||||
getNodes,
|
||||
getEdges,
|
||||
@@ -252,7 +251,6 @@ export default {
|
||||
<template>
|
||||
<div
|
||||
ref="container"
|
||||
:key="`pane-${id}`"
|
||||
class="vue-flow__pane vue-flow__container"
|
||||
:class="{ selection: isSelecting }"
|
||||
@click="onClick"
|
||||
|
||||
@@ -13,7 +13,6 @@ import { useResizeHandler } from '../../composables/useResizeHandler'
|
||||
import Transform from './Transform.vue'
|
||||
|
||||
const {
|
||||
id,
|
||||
minZoom,
|
||||
maxZoom,
|
||||
defaultViewport,
|
||||
@@ -378,7 +377,7 @@ export default {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div ref="viewportRef" :key="`viewport-${id}`" class="vue-flow__viewport vue-flow__container">
|
||||
<div ref="viewportRef" class="vue-flow__viewport vue-flow__container">
|
||||
<Pane
|
||||
:is-selecting="isSelecting"
|
||||
:class="{ connecting: !!connectionStartHandle, dragging: paneDragging, draggable: shouldPanOnDrag }"
|
||||
|
||||
Reference in New Issue
Block a user