From fc44068036f561f6e500fb3b2449555627ffa953 Mon Sep 17 00:00:00 2001 From: Anang20 Date: Mon, 14 Nov 2022 11:16:32 +0700 Subject: [PATCH] fix: eslint rules --- pages/policy-terms/index.js | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/pages/policy-terms/index.js b/pages/policy-terms/index.js index 5ad3cca..e2e2f31 100644 --- a/pages/policy-terms/index.js +++ b/pages/policy-terms/index.js @@ -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 ', }, ] + let number = 1; + let number2 = 1; const items = [ { label: `Syarat & Ketentuan`, @@ -43,11 +45,8 @@ const PolicyTerms = observer(() => {

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

,

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

,

Ketentuan Umum

, - general_requirements.map((value, index) => ( -
-

{value?.key}.

-

{value?.value}

-
+ general_requirements.map(value => ( +

{number++}. {value?.value}

)) ], }, @@ -60,11 +59,8 @@ const PolicyTerms = observer(() => {

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

,

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

,

Ketentuan Umum

, - general_requirements.map((value,index) => ( -
-

{value?.key}.

-

{value?.value}

-
+ general_requirements.map(value => ( +

{number2++}. {value?.value}

)) ], },