diff --git a/src/components/ChatComponents/ChatComponent.vue b/src/components/ChatComponents/ChatComponent.vue index 6ddbaa3aabe973aa420454340bc27d216184b9e6..ff6f25d4ae56e5d7175eb1dfcf8ffed2bf287fed 100644 --- a/src/components/ChatComponents/ChatComponent.vue +++ b/src/components/ChatComponents/ChatComponent.vue @@ -65,7 +65,7 @@ export default { props: { openHamburger: { type: Function }, recipientID: { - type: Number, + type: String, }, }, data() { @@ -74,6 +74,7 @@ export default { scrollBehavior: "", recipient: null, rents: [], + message: "", msgs: [], }; }, diff --git a/src/components/ChatComponents/ChatProfile.vue b/src/components/ChatComponents/ChatProfile.vue index 2b2ae7744729dcd01116111274b3d4e83eaf7afe..bfed6d6281e7ae81a7c2851aeb0f60fdf16bb425 100644 --- a/src/components/ChatComponents/ChatProfile.vue +++ b/src/components/ChatComponents/ChatProfile.vue @@ -82,9 +82,6 @@ export default { selectUser() { this.$emit("recipient", this.conversation?.recipient.userId); }, - }, - created() { - console.log("convesation", this.conversation); - }, + } }; </script>