stop loading auth form async
This commit is contained in:
parent
ac538da1d8
commit
c898d9b702
1 changed files with 1 additions and 3 deletions
|
|
@ -3,6 +3,7 @@ import { mapState } from 'vuex'
|
||||||
|
|
||||||
import PostStatusForm from 'src/components/post_status_form/post_status_form.vue'
|
import PostStatusForm from 'src/components/post_status_form/post_status_form.vue'
|
||||||
import UserCard from 'src/components/user_card/user_card.vue'
|
import UserCard from 'src/components/user_card/user_card.vue'
|
||||||
|
import AuthForm from 'src/components/auth_form/auth_form.js'
|
||||||
|
|
||||||
const UserPanel = {
|
const UserPanel = {
|
||||||
computed: {
|
computed: {
|
||||||
|
|
@ -12,9 +13,6 @@ const UserPanel = {
|
||||||
...mapState({ user: (state) => state.users.currentUser }),
|
...mapState({ user: (state) => state.users.currentUser }),
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
AuthForm: defineAsyncComponent(
|
|
||||||
() => import('src/components/auth_form/auth_form.js'),
|
|
||||||
),
|
|
||||||
PostStatusForm,
|
PostStatusForm,
|
||||||
UserCard,
|
UserCard,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue