fix: eslint rules

This commit is contained in:
2022-11-14 10:36:33 +07:00
parent d8ff56b80a
commit 840531c3cf
3 changed files with 15 additions and 13 deletions

View File

@@ -38,13 +38,13 @@ 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[Layanan] <i> (Terms & Condition of Serfices)</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'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'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'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-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>,
general_requirements.map(value => (
<div className="flex">
general_requirements.map((value, index) => (
<div className="flex" key={index}>
<p key={value?.key} className="font-normal text-xs md:text-sm mb-0">{value?.key}.</p>
<p key={value?.key} className="font-normal text-xs md:text-sm mb-0">{value?.value}</p>
</div>
@@ -60,10 +60,10 @@ const PolicyTerms = observer(() => {
<p className="font-normal text-xs md:text-sm mb-7">Lorem Ipsum has been the industry'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'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>,
general_requirements.map(value => (
<div className="flex">
<p key={value?.key} className="font-normal text-xs md:text-sm mb-0">{value?.key}.</p>
<p key={value?.key} className="font-normal text-xs md:text-sm mb-0">{value?.value}</p>
general_requirements.map((value,index) => (
<div className="flex" key={index}>
<p className="font-normal text-xs md:text-sm mb-0">{value?.key}.</p>
<p className="font-normal text-xs md:text-sm mb-0">{value?.value}</p>
</div>
))
],