diff --git a/src/reducer.js b/src/reducer.js index 3d4605b..91098b9 100644 --- a/src/reducer.js +++ b/src/reducer.js @@ -27,7 +27,7 @@ const defaultState = (configs = {}) => ({ configs, }); -const filterValueToFilter = (filterValue, columnMap) => filterValue.map(f => { +const filterValueToFilter = (filterValue = [], columnMap) => filterValue.map(f => { if (_.isString(f)) { return createTextFilter(f); }