diff --git a/src/app/organisms/navigation/Home.jsx b/src/app/organisms/navigation/Home.jsx index 123a713b..9e749560 100644 --- a/src/app/organisms/navigation/Home.jsx +++ b/src/app/organisms/navigation/Home.jsx @@ -80,10 +80,10 @@ function Home({ spaceId }) { )} - { isCategorized && [...categories].map(([catId, childIds]) => { + { isCategorized && [...categories.keys()].sort(roomIdByAtoZ).map((catId) => { const rms = []; const dms = []; - childIds.forEach((id) => { + categories.get(catId).forEach((id) => { if (directs.has(id)) dms.push(id); else rms.push(id); });