diff --git a/src/widgets/pterodactyl/component.jsx b/src/widgets/pterodactyl/component.jsx index 83ace637c..e67d6f8c4 100644 --- a/src/widgets/pterodactyl/component.jsx +++ b/src/widgets/pterodactyl/component.jsx @@ -23,7 +23,7 @@ export default function Component({ service }) { } const totalServers = nodesData.data.reduce((total, node) => - node.attributes?.relationships?.servers?.data?.length ?? 0 + total, 0); + (node.attributes?.relationships?.servers?.data?.length ?? 0) + total, 0); return (