This commit is contained in:
@@ -68,6 +68,7 @@ const VCCourseDetail = () => {
|
||||
const fetchDetail = async () => {
|
||||
try {
|
||||
const response = await getVCCourseDetail(id);
|
||||
console.log('Course detail:', response.data);
|
||||
setCourse(response.data);
|
||||
} catch (error) {
|
||||
console.error("Failed to fetch course detail:", error);
|
||||
|
||||
Reference in New Issue
Block a user