style: auto-fix lint and format
This commit is contained in:
1 parent
c53b38a738
commit
ab7d385a13
2 files changed
+2
-2
No files matched your search
@@ -1,5 +1,5 @@
|
|||||||
import { GenericContainer, Wait } from "testcontainers";
|
import { GenericContainer, Wait } from "testcontainers";
|
||||||
import { Environment } from "testcontainers/build/types";
|
import type { Environment } from "testcontainers/build/types";
|
||||||
|
|
||||||
export const createHomarrContainer = (
|
export const createHomarrContainer = (
|
||||||
options: {
|
options: {
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ export const generateResponsiveGridFor = ({
|
|||||||
}: GridAlgorithmInput): GridAlgorithmOutput => {
|
}: GridAlgorithmInput): GridAlgorithmOutput => {
|
||||||
const itemsOfCurrentSection = items
|
const itemsOfCurrentSection = items
|
||||||
.filter((item) => item.sectionId === sectionId)
|
.filter((item) => item.sectionId === sectionId)
|
||||||
.sort((itemA, itemB) =>
|
.toSorted((itemA, itemB) =>
|
||||||
itemA.yOffset === itemB.yOffset ? itemA.xOffset - itemB.xOffset : itemA.yOffset - itemB.yOffset,
|
itemA.yOffset === itemB.yOffset ? itemA.xOffset - itemB.xOffset : itemA.yOffset - itemB.yOffset,
|
||||||
);
|
);
|
||||||
const normalizedItems = normalizeItems(itemsOfCurrentSection, width);
|
const normalizedItems = normalizeItems(itemsOfCurrentSection, width);
|
||||||
|
|||||||
Reference in new issue
Block a user