diff --git a/app/javascript/dashboard/components-next/message/groupWithNext.js b/app/javascript/dashboard/components-next/message/groupWithNext.js index aecb3f661..7e6b6820b 100644 --- a/app/javascript/dashboard/components-next/message/groupWithNext.js +++ b/app/javascript/dashboard/components-next/message/groupWithNext.js @@ -5,7 +5,7 @@ import { MESSAGE_TYPES } from './constants'; * @param {Array} searchList - Array of messages to check * @returns {Boolean} - Whether the message should be grouped with next */ -export const shouldGroupWithNext = (index, searchList) => { +export default (index, searchList) => { if (index === searchList.length - 1) return false; const current = searchList[index];