diff --git a/src/components/CS2Rules.tsx b/src/components/CS2Rules.tsx
index b63b8e6..55d9095 100644
--- a/src/components/CS2Rules.tsx
+++ b/src/components/CS2Rules.tsx
@@ -60,27 +60,20 @@ function RuleItem({ rule, index }: { rule: string | { main: string; sub: (string
}
export default function CS2Rules({ sections }: CS2RulesProps) {
- let ruleCounter = 0;
-
return (
- {sections.map((section, sectionIndex) => {
- const startIndex = ruleCounter;
- ruleCounter += section.rules.length;
-
- return (
-
-
- {sectionIndex + 1}) {section.title}
-
-
- {section.rules.map((rule, ruleIndex) => (
-
- ))}
-
-
- );
- })}
+ {sections.map((section, sectionIndex) => (
+
+
+ {sectionIndex + 1}) {section.title}
+
+
+ {section.rules.map((rule, ruleIndex) => (
+
+ ))}
+
+
+ ))}
);
}