fix: eslint rules

This commit is contained in:
Anang20 2022-11-14 11:22:45 +07:00
parent fc44068036
commit 9fa9f8ee47

View File

@ -9,27 +9,21 @@ const PolicyTerms = observer(() => {
const general_requirements = [
{
key: 1,
value: 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since ',
},
{
key: 2,
value: 'bled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop',
},
{
key: 3,
value: 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since ',
},
{
key: 4,
value: 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since ',
},
{
key: 5,
value: 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since ',
},
{
key: 6,
value: 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since ',
},
]
@ -45,8 +39,8 @@ const PolicyTerms = observer(() => {
<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 => (
<p key={value?.key} className="font-normal text-xs md:text-sm mb-0">{number++}. {value?.value}</p>
general_requirements.map((value, index) => (
<p key={index} className="font-normal text-xs md:text-sm mb-0">{number++}. {value?.value}</p>
))
],
},
@ -55,12 +49,12 @@ const PolicyTerms = observer(() => {
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'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-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 => (
<p key={value?.key} className="font-normal text-xs md:text-sm mb-0">{number2++}. {value?.value}</p>
general_requirements.map((value, index) => (
<p key={index} className="font-normal text-xs md:text-sm mb-0">{number2++}. {value?.value}</p>
))
],
},