diff --git a/apps/nextjs/src/components/board/sections/content.tsx b/apps/nextjs/src/components/board/sections/content.tsx index 98eb2f9c2..c45e90ed4 100644 --- a/apps/nextjs/src/components/board/sections/content.tsx +++ b/apps/nextjs/src/components/board/sections/content.tsx @@ -19,7 +19,7 @@ export const SectionContent = () => { * @see https://github.com/homarr-labs/homarr/pull/1770 */ const sortedItems = useMemo(() => { - return [...items, ...innerSections].sort((itemA, itemB) => { + return [...items, ...innerSections].toSorted((itemA, itemB) => { if (itemA.yOffset === itemB.yOffset) { return itemA.xOffset - itemB.xOffset; }