diff --git a/src/containers/CoursesPanel/__snapshots__/index.test.jsx.snap b/src/containers/CoursesPanel/__snapshots__/index.test.jsx.snap
index 4ac541b..40f8d91 100644
--- a/src/containers/CoursesPanel/__snapshots__/index.test.jsx.snap
+++ b/src/containers/CoursesPanel/__snapshots__/index.test.jsx.snap
@@ -18,7 +18,11 @@ exports[`CoursesPanel no courses snapshot 1`] = `
-
+
+
+
`;
@@ -40,12 +44,16 @@ exports[`CoursesPanel with courses snapshot 1`] = `
-
+
+
+
`;
diff --git a/src/containers/CoursesPanel/index.jsx b/src/containers/CoursesPanel/index.jsx
index 8fd1e56..dacb807 100644
--- a/src/containers/CoursesPanel/index.jsx
+++ b/src/containers/CoursesPanel/index.jsx
@@ -1,5 +1,6 @@
import React from 'react';
+import { PluginSlot } from '@openedx/frontend-plugin-framework';
import { useIntl } from '@edx/frontend-platform/i18n';
import { reduxHooks } from 'hooks';
@@ -33,12 +34,19 @@ export const CoursesPanel = () => {
- {hasCourses
- ? (
+ {hasCourses ? (
+
- ) : (
+
+ ) : (
+
- )}
+
+ )}
);
};
diff --git a/src/containers/CoursesPanel/index.test.jsx b/src/containers/CoursesPanel/index.test.jsx
index 72aedb3..5917f14 100644
--- a/src/containers/CoursesPanel/index.test.jsx
+++ b/src/containers/CoursesPanel/index.test.jsx
@@ -17,6 +17,9 @@ jest.mock('containers/CourseFilterControls', () => ({
ActiveCourseFilters: 'ActiveCourseFilters',
CourseFilterControls: 'CourseFilterControls',
}));
+jest.mock('@openedx/frontend-plugin-framework', () => ({
+ PluginSlot: 'PluginSlot',
+}));
jest.mock('./CourseList', () => 'CourseList');
reduxHooks.useHasCourses.mockReturnValue(true);