There was an error while loading. Please reload this page.
1 parent aaa61d0 commit 5c3f4f0Copy full SHA for 5c3f4f0
1 file changed
frontend/views/CardList.tsx
@@ -20,7 +20,6 @@ const FlipMoveGrid = styled(FlipMove)(({ theme }) => ({
20
gridGap: "20px",
21
}));
22
23
-
24
const getBuildingPosition = (building: Building): number | null => {
25
const match = building.id.match(/(\d+)$/);
26
@@ -29,7 +28,7 @@ const getBuildingPosition = (building: Building): number | null => {
29
28
}
30
31
return Number(match[1]);
32
-}
+};
33
34
const compareBuildingPosition = (
35
a: Building,
@@ -64,8 +63,7 @@ const compareBuildingPosition = (
64
63
65
66
return a.name.localeCompare(b.name);
67
68
69
70
const FlippableCard = React.forwardRef<HTMLDivElement, { buildingId: string }>(
71
({ buildingId }, ref) => {
0 commit comments