pleroma-fe/src/components/user_popover/user_popover.js
Henry Jameson af98bc2973 don't use async component for user popover to fix the incorrect initial
position.
for some reason same doesn't work with status popover...
2022-06-21 01:03:20 +03:00

16 lines
336 B
JavaScript

import UserCard from '../user_card/user_card.vue'
import { defineAsyncComponent } from 'vue'
const UserPopover = {
name: 'UserPopover',
props: [
'userId', 'overlayCenters', 'disabled'
],
components: {
UserCard,
Popover: defineAsyncComponent(() => import('../popover/popover.vue'))
}
}
export default UserPopover