@daeryun/dr_components 0.9.85 → 0.9.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -129,7 +129,7 @@ const LawInfoNew = ({ data, tel }) => {
129
129
  {/*h2*/}
130
130
  {h2List &&
131
131
  h2List.map((h2Template, index) => {
132
- return (<section className={'mt-[52px] sm:mt-[62px] lg:mt-[75px]'} key={'h2영역' + h2Template.idx} itemScope={faqCount >= 2 ? undefined : true} itemType={faqCount >= 2 ? undefined : 'https://schema.org/FAQPage'}>
132
+ return (<section className={'mt-[52px] sm:mt-[62px] lg:mt-[75px]'} key={'h2영역' + h2Template.idx} itemScope={faqCount >= 2 ? true : undefined} itemType={faqCount >= 2 ? 'https://schema.org/FAQPage' : undefined}>
133
133
  <H2Contents h2Template={convertFaqItemType(h2Template)} index={index} faqCount={faqCount}/>
134
134
 
135
135
  {/*h3*/}
@@ -202,9 +202,9 @@ const LawInfoNew = ({ data, tel }: ILawInfoNewPageTypes) => {
202
202
  <section
203
203
  className={'mt-[52px] sm:mt-[62px] lg:mt-[75px]'}
204
204
  key={'h2영역' + h2Template.idx}
205
- itemScope={(faqCount as number) >= 2 ? undefined : true}
205
+ itemScope={(faqCount as number) >= 2 ? true : undefined}
206
206
  itemType={
207
- (faqCount as number) >= 2 ? undefined : 'https://schema.org/FAQPage'
207
+ (faqCount as number) >= 2 ? 'https://schema.org/FAQPage' : undefined
208
208
  }
209
209
  >
210
210
  <H2Contents