fix: eslint rules

This commit is contained in:
Anang20 2022-11-14 11:31:26 +07:00
parent 9fa9f8ee47
commit f4654fb7ca

View File

@ -34,13 +34,15 @@ const PolicyTerms = observer(() => {
label: `Syarat & Ketentuan`,
key: '1',
children: [
<p className="font-bold text-xs md:text-sm lg:text-base text-center mb-2" > Syarat - syarat & Ketentuan&#91;Layanan&#93; <i> &#40;Terms & Condition of Serfices&#41;</i></p>,
<p className="font-bold text-xs md:text-base mb-7">PENTING: <span className="font-normal text-xs md:text-sm">Lorem Ipsum has been the industry&rsquo;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</span></p>,
<p className="font-normal text-xs md:text-sm mb-7">Lorem Ipsum has been the industry&rsquo;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</p>,
<p className="font-normal text-xs md:text-sm mb-7">Lorem Ipsum has been the industry&rsquo;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</p>,
<p className="font-bold text-xs md:text-base">Ketentuan Umum</p>,
<p key={1} className="font-bold text-xs md:text-sm lg:text-base text-center mb-2" > Syarat - syarat & Ketentuan&#91;Layanan&#93; <i> &#40;Terms & Condition of Serfices&#41;</i></p>,
<p key={2} className="font-bold text-xs md:text-base mb-7">PENTING: <span className="font-normal text-xs md:text-sm">Lorem Ipsum has been the industry&rsquo;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</span></p>,
<p key={3} className="font-normal text-xs md:text-sm mb-7">Lorem Ipsum has been the industry&rsquo;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</p>,
<p key={4} className="font-normal text-xs md:text-sm mb-7">Lorem Ipsum has been the industry&rsquo;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</p>,
<p key={5} className="font-bold text-xs md:text-base">Ketentuan Umum</p>,
general_requirements.map((value, index) => (
<p key={index} className="font-normal text-xs md:text-sm mb-0">{number++}. {value?.value}</p>
<div key={index}>
<p className="font-normal text-xs md:text-sm mb-0">{number++}. {value?.value}</p>
</div>
))
],
},
@ -48,13 +50,15 @@ const PolicyTerms = observer(() => {
label: `Kebijakan Privasi`,
key: '2',
children: [
<p className="font-bold text-xs md:text-sm lg:text-base text-center mb-2" > Kebijakan Privasi <i> (Privacy Policy)</i></p>,
<p className="font-bold text-xs md:text-base mb-7">PENTING: <span className="font-normal text-xs md:text-sm">Lorem Ipsum has been the industry&rsquo;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</span></p>,
<p className="font-normal text-xs md:text-sm mb-7">Lorem Ipsum has been the industry&rsquo;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</p>,
<p className="font-normal text-xs md:text-sm mb-7">Lorem Ipsum has been the industry&rsquo;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</p>,
<p className="font-bold text-xs md:text-base">Ketentuan Umum</p>,
<p key={1} className="font-bold text-xs md:text-sm lg:text-base text-center mb-2" > Kebijakan Privasi <i> (Privacy Policy)</i></p>,
<p key={2} className="font-bold text-xs md:text-base mb-7">PENTING: <span className="font-normal text-xs md:text-sm">Lorem Ipsum has been the industry&rsquo;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</span></p>,
<p key={3} className="font-normal text-xs md:text-sm mb-7">Lorem Ipsum has been the industry&rsquo;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</p>,
<p key={4} className="font-normal text-xs md:text-sm mb-7">Lorem Ipsum has been the industry&rsquo;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</p>,
<p key={5} className="font-bold text-xs md:text-base">Ketentuan Umum</p>,
general_requirements.map((value, index) => (
<p key={index} className="font-normal text-xs md:text-sm mb-0">{number2++}. {value?.value}</p>
<div key={index}>
<p className="font-normal text-xs md:text-sm mb-0">{number2++}. {value?.value}</p>
</div>
))
],
},