diff --git a/apps/nextjs/src/app/[locale]/manage/custom-widgets/_custom-widget-list.tsx b/apps/nextjs/src/app/[locale]/manage/custom-widgets/_custom-widget-list.tsx
index 22d548e56..7adede639 100644
--- a/apps/nextjs/src/app/[locale]/manage/custom-widgets/_custom-widget-list.tsx
+++ b/apps/nextjs/src/app/[locale]/manage/custom-widgets/_custom-widget-list.tsx
@@ -44,12 +44,11 @@ export const CustomWidgetList = ({ definitions }: CustomWidgetListProps) => {
}
return (
-
+
{definitions.map((def) => (
))}
-
);
};
diff --git a/packages/integrations/src/patchmon/patchmon-types.ts b/packages/integrations/src/patchmon/patchmon-types.ts
index 1f912d6c9..96c3db293 100644
--- a/packages/integrations/src/patchmon/patchmon-types.ts
+++ b/packages/integrations/src/patchmon/patchmon-types.ts
@@ -52,9 +52,9 @@ const mapOsDistributionEntry = (
osVersion: entry.os_version,
});
-export const parsePatchMonStatsResponseAsync = async (
- response: { json: () => Promise },
-): Promise> => {
+export const parsePatchMonStatsResponseAsync = async (response: {
+ json: () => Promise;
+}): Promise> => {
let json: unknown;
try {
json = await response.json();
@@ -82,7 +82,5 @@ export const mapPatchMonStats = (data: z.infer b.count - a.count),
+ osDistribution: [...data.os_distribution].map(mapOsDistributionEntry).sort((a, b) => b.count - a.count),
});
diff --git a/packages/integrations/src/plex/test/plex-integration.spec.ts b/packages/integrations/src/plex/test/plex-integration.spec.ts
index 64e046256..2a7284b64 100644
--- a/packages/integrations/src/plex/test/plex-integration.spec.ts
+++ b/packages/integrations/src/plex/test/plex-integration.spec.ts
@@ -137,4 +137,4 @@ describe("PlexIntegration.getMediaReleasesAsync", () => {
},
]);
});
-});
\ No newline at end of file
+});