Move imports to first script block to avoid prettier issues (#9512)

Fixes #9502
This commit is contained in:
Paweł Grabarz 2024-03-26 11:34:25 +01:00 committed by GitHub
parent 1872bb66ea
commit 1fa1803f6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,8 @@
<script lang="ts"> <script lang="ts">
import SvgIcon from '@/components/SvgIcon.vue'
import { Ast } from '@/util/ast' import { Ast } from '@/util/ast'
import { Pattern } from '@/util/ast/match' import { Pattern } from '@/util/ast/match'
import { useVisualizationConfig, VisualizationContainer } from '@/util/visualizationBuiltins'
import { computed } from 'vue' import { computed } from 'vue'
export const name = 'Warnings' export const name = 'Warnings'
@ -17,9 +19,6 @@ const removeWarnings = computed(() =>
</script> </script>
<script setup lang="ts"> <script setup lang="ts">
import SvgIcon from '@/components/SvgIcon.vue'
import { useVisualizationConfig, VisualizationContainer } from '@/util/visualizationBuiltins'
type Data = string[] type Data = string[]
const props = defineProps<{ data: Data }>() const props = defineProps<{ data: Data }>()