From 048912a241ee8034a65e2e422116249646a0370f Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 10 Jul 2017 15:17:58 +0100 Subject: [PATCH] Remove commented ordering code No lomger needed now roosm come down in order --- src/components/structures/GroupView.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/components/structures/GroupView.js b/src/components/structures/GroupView.js index 0a790471ac..f33e7321cd 100644 --- a/src/components/structures/GroupView.js +++ b/src/components/structures/GroupView.js @@ -161,11 +161,6 @@ export default React.createClass({ list.push(r); } }); - /*[defaultCategoryRooms, ...Object.values(categoryRooms)].forEach((roomList) => { - roomList.sort((r1, r2) => { - return r1.order - r2.order; - }); - });*/ let defaultCategoryNode = null; if (defaultCategoryRooms.length > 0) {