mirror of
https://github.com/Lapikud/tipilan.git
synced 2026-05-08 10:00:46 +00:00
Fix esling
This commit is contained in:
@@ -60,15 +60,9 @@ function RuleItem({ rule, index }: { rule: string | { main: string; sub: (string
|
||||
}
|
||||
|
||||
export default function CS2Rules({ sections }: CS2RulesProps) {
|
||||
let ruleCounter = 0;
|
||||
|
||||
return (
|
||||
<div>
|
||||
{sections.map((section, sectionIndex) => {
|
||||
const startIndex = ruleCounter;
|
||||
ruleCounter += section.rules.length;
|
||||
|
||||
return (
|
||||
{sections.map((section, sectionIndex) => (
|
||||
<div key={sectionIndex} className="mb-8">
|
||||
<h3 className={`${vipnagorgialla.className} font-bold italic text-xl text-[#00A3E0] uppercase mb-4`}>
|
||||
{sectionIndex + 1}) {section.title}
|
||||
@@ -79,8 +73,7 @@ export default function CS2Rules({ sections }: CS2RulesProps) {
|
||||
))}
|
||||
</ol>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user