Skip to content

Commit

Permalink
(fix): Rename incorrect prop name of 'datePickerType' (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
NethmiRodrigo authored Jun 7, 2024
1 parent 4956e07 commit 1322268
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ const AddQuestionModal: React.FC<AddQuestionModalProps> = ({
type: questionType,
required: isQuestionRequired,
id: questionId ?? computedQuestionId,
...(questionType === 'encounterDatetime' && { datePickerType }),
...(questionType === 'encounterDatetime' && { datePickerFormat: datePickerType }),
questionOptions: {
rendering: renderingType,
concept: selectedConcept?.uuid,
Expand Down

0 comments on commit 1322268

Please sign in to comment.