refactor: optimize Vue imports across event components
Reorganize imports in event-page.vue, event-distance.vue, and event-card.vue to enhance code clarity. Move type imports to separate lines from regular imports, improving readability. Ensure consistency in import style across all event-related components and streamline the handling of type definitions.
This commit is contained in:
@@ -108,7 +108,8 @@
|
||||
|
||||
import { format, formatDistanceToNow, parseISO } from 'date-fns'
|
||||
import { enGB, sv } from 'date-fns/locale'
|
||||
import { computed, type PropType } from 'vue'
|
||||
import type { PropType } from 'vue'
|
||||
import { computed } from 'vue'
|
||||
|
||||
import { useI18n } from '#i18n'
|
||||
import DistanceDisplay from '~/components/pages/events/event-distance.vue'
|
||||
|
||||
Reference in New Issue
Block a user