Skip to content

Commit 25b0ddb

Browse files
committed
style: quality
1 parent 202e38b commit 25b0ddb

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/courseware/course/sequence/Unit/ContentIFrame.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
)}
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import { PluginSlot } from '@openedx/frontend-plugin-framework';
22
import { 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

1313
interface Props {
14-
courseId: string;
15-
}
14+
courseId: string;
15+
}

0 commit comments

Comments
 (0)