Skip to content

Commit

Permalink
Renamed calendar feed type key and updated propTypes in CalendarFeedT…
Browse files Browse the repository at this point in the history
…ypeTemplate
  • Loading branch information
jeppekroghitk committed Nov 4, 2024
1 parent da83956 commit 2f81552
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const CalendarFeedTypeTemplate = ({ handleInput, formStateObject, t }) => {
type="text"
label={t("dynamic-fields.CalendarApiFeedType.resources")}
onChange={handleInput}
value={formStateObject.feedSources}
value={formStateObject.resources}
/>
</>
);
Expand All @@ -20,7 +20,7 @@ const CalendarFeedTypeTemplate = ({ handleInput, formStateObject, t }) => {
CalendarFeedTypeTemplate.propTypes = {
handleInput: PropTypes.func,
formStateObject: PropTypes.shape({
feedSources: PropTypes.string,
resources: PropTypes.string,
}),
t: PropTypes.func,
};
Expand Down

0 comments on commit 2f81552

Please sign in to comment.