mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
Remove first timeout
This commit is contained in:
parent
2dafa52bc4
commit
272ae52c73
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user