chore(editor): Clean up warnings on the browser's console (#17307)

This commit is contained in:
Suguru Inoue
2025-07-24 15:03:39 +02:00
committed by GitHub
parent c044bc36e9
commit 733ada8999
12 changed files with 59 additions and 49 deletions

View File

@@ -12,7 +12,7 @@ import { useI18n } from '@n8n/i18n';
import { nonExistingJsonPath, PiPWindowSymbol } from '@/constants';
import { useClipboard } from '@/composables/useClipboard';
import { usePinnedData } from '@/composables/usePinnedData';
import { inject, computed } from 'vue';
import { inject, computed, ref } from 'vue';
import { useRoute } from 'vue-router';
import { useTelemetry } from '@/composables/useTelemetry';
import { N8nIconButton } from '@n8n/design-system';
@@ -39,7 +39,7 @@ const props = withDefaults(
},
);
const pipWindow = inject(PiPWindowSymbol);
const pipWindow = inject(PiPWindowSymbol, ref<Window | undefined>());
const isInPiPWindow = computed(() => pipWindow?.value !== undefined);
const ndvStore = useNDVStore();