lighten usercard and statically load post status from to avoid jumps
This commit is contained in:
parent
aa5757d603
commit
fc177b5200
5 changed files with 25 additions and 26 deletions
|
|
@ -1,5 +1,7 @@
|
|||
import { defineAsyncComponent } from 'vue'
|
||||
import { mapState } from 'vuex'
|
||||
import PostStatusForm from 'src/components/post_status_form/post_status_form.vue'
|
||||
import UserCard from 'src/components/user_card/user_card.vue'
|
||||
|
||||
const UserPanel = {
|
||||
computed: {
|
||||
|
|
@ -12,12 +14,8 @@ const UserPanel = {
|
|||
AuthForm: defineAsyncComponent(
|
||||
() => import('src/components/auth_form/auth_form.js'),
|
||||
),
|
||||
PostStatusForm: defineAsyncComponent(
|
||||
() => import('src/components/post_status_form/post_status_form.vue'),
|
||||
),
|
||||
UserCard: defineAsyncComponent(
|
||||
() => import('src/components/user_card/user_card.vue'),
|
||||
),
|
||||
PostStatusForm,
|
||||
UserCard,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue