fix: better validation message on course creation

This commit is contained in:
Jannat Patel
2024-06-12 11:44:14 +05:30
parent d5614322c5
commit 77433ebb7c
4 changed files with 6 additions and 11 deletions

View File

@@ -377,7 +377,7 @@ const submitCourse = () => {
})
},
onError(err) {
showToast(err)
showToast('Error', err.messages?.[0] || err, 'x')
},
})
}