yandere_fe/src/components/user_panel/user_panel.js

19 lines
434 B
JavaScript
Raw Normal View History

import AuthForm from '../auth_form/auth_form.js'
2016-10-30 08:53:58 -07:00
import PostStatusForm from '../post_status_form/post_status_form.vue'
2019-03-05 11:01:49 -08:00
import UserCard from '../user_card/user_card.vue'
import { mapState } from 'vuex'
2016-10-27 09:02:28 -07:00
const UserPanel = {
computed: {
signedIn () { return this.user },
...mapState({ user: state => state.users.currentUser })
2016-10-27 09:02:28 -07:00
},
components: {
AuthForm,
2016-11-30 13:27:19 -08:00
PostStatusForm,
2019-03-05 11:01:49 -08:00
UserCard
2016-10-27 09:02:28 -07:00
}
}
export default UserPanel