diff --git a/src/utils/splitUsing.js b/src/utils/splitUsing.js index 49f13797c..e29621772 100644 --- a/src/utils/splitUsing.js +++ b/src/utils/splitUsing.js @@ -10,7 +10,7 @@ const splitUsing = (list, predicate) => { { groups: [], items: [] } ); - if (items.length > 1) { + if (items.length > 0) { return [...groups, items]; }