Skip to content

Commit

Permalink
fix: nameing of date component
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikmv committed Dec 10, 2024
1 parent 757df72 commit 8c02cc1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { InfoBox } from '../InfoBox';
import { baseInputStyles } from '../ScheduleOrgUnit/commonProps';


const LabelledRequiredDateField = withDefaultFieldContainer()(
const ScheduleDataField = withDefaultFieldContainer()(
withLabel({
onGetCustomFieldLabeClass: () => labelTypeClasses.dateLabel,
})(
Expand Down Expand Up @@ -48,7 +48,7 @@ const ScheduleDatePlain = ({
<>
{!hideDueDate && (
<>
<LabelledRequiredDateField
<ScheduleDataField
label={i18n.t('Schedule date / Due date')}
required
value={scheduleDate}
Expand Down

0 comments on commit 8c02cc1

Please sign in to comment.