We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d9a4a9 commit a4083dbCopy full SHA for a4083db
services/course-material/src/components/modals/CourseSettingsModal.tsx
@@ -196,18 +196,18 @@ const CourseSettingsModal: React.FC<React.PropsWithChildren<CourseSettingsModalP
196
/>
197
)}
198
</div>
199
- <div
200
- className={css`
201
- padding: 1rem 3rem;
202
- `}
203
- >
204
- {getCourse.data?.ask_marketing_consent && (
+ {getCourse.data?.ask_marketing_consent && (
+ <div
+ className={css`
+ padding: 1rem 3rem;
+ `}
+ >
205
<SelectMarketingConsentForm
206
courseId={selectedLangCourseId}
207
courseLanguageGroupsId={getCourse.data?.course_language_group_id}
208
209
- )}
210
- </div>
+ </div>
+ )}
211
{languageChanged && (
212
<div
213
className={css`
0 commit comments