cleanup dynamic/static import warnings

This commit is contained in:
Henry Jameson 2026-06-02 18:09:12 +03:00
commit b7ccbc6726
14 changed files with 88 additions and 61 deletions

View file

@ -1,7 +1,7 @@
import { mapState } from 'pinia'
import { defineAsyncComponent } from 'vue'
import UserCard from '../user_card/user_card.vue'
import Popover from 'src/components/popover/popover.vue'
import { useMergedConfigStore } from 'src/stores/merged_config.js'
@ -9,8 +9,10 @@ const UserPopover = {
name: 'UserPopover',
props: ['userId', 'overlayCenters', 'disabled', 'overlayCentersSelector'],
components: {
UserCard,
Popover: defineAsyncComponent(() => import('../popover/popover.vue')),
UserCard: defineAsyncComponent(
() => import('src/components/user_card/user_card.vue'),
),
Popover,
},
computed: mapState(useMergedConfigStore, {
userPopoverAvatarAction: (state) =>