aboutsummaryrefslogtreecommitdiff
path: root/src/components/chat/chat.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/chat/chat.js')
-rw-r--r--src/components/chat/chat.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/components/chat/chat.js b/src/components/chat/chat.js
deleted file mode 100644
index ef326d4a..00000000
--- a/src/components/chat/chat.js
+++ /dev/null
@@ -1,21 +0,0 @@
-const chat = {
- data () {
- return {
- currentMessage: '',
- channel: null
- }
- },
- computed: {
- messages () {
- return this.$store.state.chat.messages
- }
- },
- methods: {
- submit (message) {
- this.$store.state.chat.channel.push('new_msg', {text: message}, 10000)
- this.currentMessage = ''
- }
- }
-}
-
-export default chat