try {
console.log('11111')
const {
data: { tasks },
} = await axios.get('/api/v1/tasks')
console.log('22222 ' + await axios.get('/api/v1/tasks') )
console.log('33333 ' + tasks)
https://i.sstatic.net/mLLVg.png
https://i.sstatic.net/Jm3Aq.png
There seems to be an issue where the value of tasks
is undefined.