modified code

This commit is contained in:
2024-06-21 15:16:40 +02:00
parent b0f26ef9c3
commit 265bbd35c1
2 changed files with 5 additions and 8 deletions

View File

@@ -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>