File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
courseware/course/sequence/Unit
plugin-slots/ContentIFrameErrorSlot Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ const ContentIFrame = ({
6868 { ( shouldShowContent && ! hasLoaded ) && (
6969 showError ? (
7070 < ContentIFrameErrorSlot courseId = { courseId } />
71- ) : (
71+ ) : (
7272 < ContentIFrameLoaderSlot courseId = { courseId } loadingMessage = { loadingMessage } />
7373 )
7474 ) }
Original file line number Diff line number Diff line change 11import { PluginSlot } from '@openedx/frontend-plugin-framework' ;
22import { ErrorPage } from '@edx/frontend-platform/react' ;
33
4- export const ContentIFrameErrorSlot : React . FC < Props > = ( { courseId} ) => (
5- < PluginSlot
4+ export const ContentIFrameErrorSlot : React . FC < Props > = ( { courseId } : Props ) => (
5+ < PluginSlot
66 id = "org.openedx.frontend.learning.content_iframe_error.v1"
7- pluginProps = { { courseId} }
7+ pluginProps = { { courseId } }
88 >
99 < ErrorPage />
1010 </ PluginSlot >
1111) ;
1212
1313interface Props {
14- courseId : string ;
15- }
14+ courseId : string ;
15+ }
You can’t perform that action at this time.
0 commit comments