diff --git a/assets/js/src/subscribers/importExport/import/step_data_manipulation/match_table.jsx b/assets/js/src/subscribers/importExport/import/step_data_manipulation/match_table.jsx index 348e9f47c8..f840dfeced 100644 --- a/assets/js/src/subscribers/importExport/import/step_data_manipulation/match_table.jsx +++ b/assets/js/src/subscribers/importExport/import/step_data_manipulation/match_table.jsx @@ -30,7 +30,6 @@ function ColumnDataMatch({ header, subscribers }) { ); } ColumnDataMatch.propTypes = { - header: PropTypes.arrayOf(PropTypes.string).isRequired, subscribers: PropTypes.arrayOf( // all subscribers PropTypes.arrayOf( // single subscribers PropTypes.oneOfType( // properties of a subscriber @@ -38,6 +37,11 @@ ColumnDataMatch.propTypes = { ) ) ).isRequired, + header: PropTypes.arrayOf(PropTypes.string), +}; + +ColumnDataMatch.defaultProps = { + header: [], }; function Header({ header }) { @@ -132,7 +136,7 @@ function MatchTable({ -
+ {header ?
: null}