Remove first timeout

This commit is contained in:
Sébastien Chopin 2017-07-09 01:50:26 +02:00
parent 2dafa52bc4
commit 272ae52c73

View File

@ -23,7 +23,6 @@ export default {
messages: [] messages: []
}), }),
mounted () { mounted () {
setTimeout(() => {
// Listen to new messages // Listen to new messages
streamMessages(async (message) => { streamMessages(async (message) => {
// Make sure to wait for async chunk to be loaded before adding the message // Make sure to wait for async chunk to be loaded before adding the message
@ -31,7 +30,6 @@ export default {
// Add the message to the list // Add the message to the list
this.messages.push(message) this.messages.push(message)
}) })
}, 1000)
}, },
components components
} }