blob: c2f51eb616f6d043eecbf2b9e09cdca6582825b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import AuthForm from '../auth_form/auth_form.js'
import PostStatusForm from '../post_status_form/post_status_form.vue'
import UserCard from '../user_card/user_card.vue'
import { mapState } from 'vuex'
const UserPanel = {
computed: {
signedIn () { return this.user },
...mapState({ user: state => state.users.currentUser })
},
components: {
AuthForm,
PostStatusForm,
UserCard
}
}
export default UserPanel
|