Skip to content

Commit 5c3f4f0

Browse files
committed
fix: linting issues
1 parent aaa61d0 commit 5c3f4f0

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

frontend/views/CardList.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ const FlipMoveGrid = styled(FlipMove)(({ theme }) => ({
2020
gridGap: "20px",
2121
}));
2222

23-
2423
const getBuildingPosition = (building: Building): number | null => {
2524
const match = building.id.match(/(\d+)$/);
2625

@@ -29,7 +28,7 @@ const getBuildingPosition = (building: Building): number | null => {
2928
}
3029

3130
return Number(match[1]);
32-
}
31+
};
3332

3433
const compareBuildingPosition = (
3534
a: Building,
@@ -64,8 +63,7 @@ const compareBuildingPosition = (
6463
}
6564

6665
return a.name.localeCompare(b.name);
67-
}
68-
66+
};
6967

7068
const FlippableCard = React.forwardRef<HTMLDivElement, { buildingId: string }>(
7169
({ buildingId }, ref) => {

0 commit comments

Comments
 (0)