refactor: remove unused tooltip appendTo code (#5943)

## Summary

Remove unused tooltip appendTo positioning code.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-5943-refactor-remove-unused-tooltip-appendTo-code-2846d73d365081d99c00cd41e35eb496)
by [Unito](https://www.unito.io)

---------

Co-authored-by: Jake Schroeder <jake.schroeder@isophex.com>
This commit is contained in:
Simula_r
2025-10-06 14:45:53 -07:00
committed by GitHub
parent d69c54820f
commit 51f0f111ea
7 changed files with 20 additions and 55 deletions

View File

@@ -52,7 +52,7 @@
</template>
<script setup lang="ts">
import { type Ref, computed, inject, onErrorCaptured, ref } from 'vue'
import { computed, onErrorCaptured, ref } from 'vue'
import type {
SafeWidgetData,
@@ -98,11 +98,8 @@ onErrorCaptured((error) => {
})
const nodeType = computed(() => nodeData?.type || '')
const tooltipContainer =
inject<Ref<HTMLElement | undefined>>('tooltipContainer')
const { getWidgetTooltip, createTooltipConfig } = useNodeTooltips(
nodeType.value,
tooltipContainer
nodeType.value
)
interface ProcessedWidget {