fix: list index error on quiz submission
This commit is contained in:
@@ -494,7 +494,7 @@ const getAnswers = () => {
|
||||
const checkAnswer = () => {
|
||||
let answers = getAnswers()
|
||||
if (!answers.length) {
|
||||
toast.warn(__('Please select an option'))
|
||||
toast.warning(__('Please select an option'))
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user