modified code
This commit is contained in:
@@ -22,12 +22,8 @@
|
||||
} )
|
||||
}
|
||||
|
||||
async function wait_data(){
|
||||
return await this.fetch_data()
|
||||
}
|
||||
|
||||
riot.compile().then(() => {
|
||||
riot.mount('onzer', {items: wait_data()});
|
||||
riot.mount('onzer', {items: fetch_data()});
|
||||
})
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user