mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
Remove first timeout
This commit is contained in:
parent
2dafa52bc4
commit
272ae52c73
@ -23,7 +23,6 @@ export default {
|
||||
messages: []
|
||||
}),
|
||||
mounted () {
|
||||
setTimeout(() => {
|
||||
// Listen to new messages
|
||||
streamMessages(async (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
|
||||
this.messages.push(message)
|
||||
})
|
||||
}, 1000)
|
||||
},
|
||||
components
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user