fix
This commit is contained in:
@ -127,6 +127,7 @@ export const CoursesProvider = ({ children }: CoursesProviderProps) => {
|
||||
|
||||
const fetchCourses = async () => {
|
||||
try {
|
||||
console.log('env is: ', process.env.REACT_APP_API_URL);
|
||||
const { data: courses } = await axiosInstance.get<Array<Course>>(
|
||||
`${process.env.REACT_APP_API_URL}/api/v1/courses/getCoursesWithGroups`,
|
||||
);
|
||||
|
Reference in New Issue
Block a user