fix: condition to show course addition button
This commit is contained in:
@@ -212,7 +212,6 @@ const questionCreation = createResource({
|
||||
})
|
||||
|
||||
const submitQuestion = (close) => {
|
||||
console.log(questionData.data?.name)
|
||||
if (props.questionDetail?.question) updateQuestion(close)
|
||||
else addQuestion(close)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user