Skip to content

Commit

Permalink
fix: remove occurrences of unused prop parentTag (InfoModal)
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl Andin committed Apr 16, 2024
1 parent fbc7def commit 0888d6f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion public/js/app/components/RoundInformationOneCol.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ function RoundInformationOneCol({
{translation.courseRoundInformation.round_max_seats}
{round && round.round_seats && (
<InfoModal
parentTag="h3"
closeLabel={translation.courseLabels.label_close}
infoText={`<p>${translation.courseLabels.round_seats_default_info} ${
round.round_selection_criteria !== '<p></p>' && round.round_selection_criteria !== ''
Expand Down
1 change: 0 additions & 1 deletion public/js/app/components/statistics/CheckboxOption.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ function CheckboxOption({ paramName, onChange, stateMode }) {
{headerLabel}
{paramName === 'periods' && (
<InfoModal
parentTag="h3"
closeLabel={labels.label_close}
infoText={labels.study_period_info}
title={headerLabel}
Expand Down
1 change: 0 additions & 1 deletion public/js/app/components/statistics/DropdownOption.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ function DropdownOption({ paramName, onChange, showInfoBox = true }) {
{headerLabel}
{paramName === 'year' && showInfoBox && (
<InfoModal
parentTag="h3"
closeLabel={labels.label_close}
infoText={labels.study_year_info}
title={headerLabel}
Expand Down
1 change: 0 additions & 1 deletion public/js/app/pages/CoursePage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ function CoursePage() {
<span id="roundDropdownMenuHeaderWrapper">
<h2 id="roundDropdownMenuHeader">{translation.courseLabels.header_dropdown_menue}</h2>
<InfoModal
parentTag="h2"
title={translation.courseLabels.header_dropdown_menue}
infoText={translation.courseLabels.syllabus_info}
type="html"
Expand Down

0 comments on commit 0888d6f

Please sign in to comment.