style: auto-fix lint and format
This commit is contained in:
1 parent
ab3c8b4d1f
commit
4cf41f2c4c
2 files changed
+5
-8
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user