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 = ({
68
68
{ ( shouldShowContent && ! hasLoaded ) && (
69
69
showError ? (
70
70
< ContentIFrameErrorSlot courseId = { courseId } />
71
- ) : (
71
+ ) : (
72
72
< ContentIFrameLoaderSlot courseId = { courseId } loadingMessage = { loadingMessage } />
73
73
)
74
74
) }
Original file line number Diff line number Diff line change 1
1
import { PluginSlot } from '@openedx/frontend-plugin-framework' ;
2
2
import { ErrorPage } from '@edx/frontend-platform/react' ;
3
3
4
- export const ContentIFrameErrorSlot : React . FC < Props > = ( { courseId} ) => (
5
- < PluginSlot
4
+ export const ContentIFrameErrorSlot : React . FC < Props > = ( { courseId } : Props ) => (
5
+ < PluginSlot
6
6
id = "org.openedx.frontend.learning.content_iframe_error.v1"
7
- pluginProps = { { courseId} }
7
+ pluginProps = { { courseId } }
8
8
>
9
9
< ErrorPage />
10
10
</ PluginSlot >
11
11
) ;
12
12
13
13
interface Props {
14
- courseId : string ;
15
- }
14
+ courseId : string ;
15
+ }
You can’t perform that action at this time.
0 commit comments