diff --git a/app/javascript/components/MentorCourses.jsx b/app/javascript/components/MentorCourses.jsx index 7652db35be5..1b88a8a619d 100644 --- a/app/javascript/components/MentorCourses.jsx +++ b/app/javascript/components/MentorCourses.jsx @@ -22,7 +22,7 @@ export default function MentorCourses() { const courses = data.courses return ( -
+
@@ -43,7 +43,7 @@ function MentorCourse(props) { return ( - diff --git a/app/javascript/components/User.jsx b/app/javascript/components/User.jsx index 9dc7882ff90..0680308695e 100644 --- a/app/javascript/components/User.jsx +++ b/app/javascript/components/User.jsx @@ -25,7 +25,7 @@ export default function User({ user, currentUser }) { return (
-
+
{currentUser && (currentUser.mentor || currentUser.admin) && diff --git a/app/javascript/components/user.vue b/app/javascript/components/user.vue index 359b11290e9..1354517e2a6 100644 --- a/app/javascript/components/user.vue +++ b/app/javascript/components/user.vue @@ -1,6 +1,6 @@
+ {course.title} {course.description}