fix: eslint rules
This commit is contained in:
parent
46e9912e70
commit
fc44068036
|
@ -33,6 +33,8 @@ const PolicyTerms = observer(() => {
|
||||||
value: 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since ',
|
value: 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since ',
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
let number = 1;
|
||||||
|
let number2 = 1;
|
||||||
const items = [
|
const items = [
|
||||||
{
|
{
|
||||||
label: `Syarat & Ketentuan`,
|
label: `Syarat & Ketentuan`,
|
||||||
|
@ -43,11 +45,8 @@ 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-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>,
|
<p className="font-bold text-xs md:text-base">Ketentuan Umum</p>,
|
||||||
general_requirements.map((value, index) => (
|
general_requirements.map(value => (
|
||||||
<div className="flex" key={index}>
|
<p key={value?.key} className="font-normal text-xs md:text-sm mb-0">{number++}. {value?.value}</p>
|
||||||
<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,11 +59,8 @@ 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-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>,
|
<p className="font-bold text-xs md:text-base">Ketentuan Umum</p>,
|
||||||
general_requirements.map((value,index) => (
|
general_requirements.map(value => (
|
||||||
<div className="flex" key={index}>
|
<p key={value?.key} className="font-normal text-xs md:text-sm mb-0">{number2++}. {value?.value}</p>
|
||||||
<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>
|
|
||||||
))
|
))
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user