diff --git a/packages/website/src/components/TankopediaCharacteristics/index.tsx b/packages/website/src/components/TankopediaCharacteristics/index.tsx index a502865fb..7fb72acfc 100644 --- a/packages/website/src/components/TankopediaCharacteristics/index.tsx +++ b/packages/website/src/components/TankopediaCharacteristics/index.tsx @@ -23,7 +23,7 @@ export function TankopediaCharacteristics({
{characteristicsGroups.map((group) => { const items = group.order.filter( - (item) => "name" in item && characteristics[item.name] !== null, + (item) => "name" in item && item.name in characteristics, ).length; const shouldRender = items > 0; diff --git a/packages/website/src/pages/[...chunk_default]/[...locale]/tanks/[slug]/_index.tsx b/packages/website/src/pages/[...chunk_default]/[...locale]/tanks/[slug]/_index.tsx index b416d4608..a13ada0e9 100644 --- a/packages/website/src/pages/[...chunk_default]/[...locale]/tanks/[slug]/_index.tsx +++ b/packages/website/src/pages/[...chunk_default]/[...locale]/tanks/[slug]/_index.tsx @@ -62,9 +62,7 @@ export const Page = withErrorWrapper(
{!skeleton && } - +
);