@daeryun/dr_components 0.9.91 → 0.9.93

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.
@@ -134,7 +134,7 @@ const LawInfoNew = ({ data, tel }) => {
134
134
  h2List.map((h2Template, index) => {
135
135
  console.log('h2Template.faqCount : ', h2Template.faqCount);
136
136
  return (<section className={'mt-[52px] sm:mt-[62px] lg:mt-[75px]'} key={'h2영역' + h2Template.idx}>
137
- <H2Contents h2Template={convertFaqItemType(h2Template)} index={index} faqCount={faqElementMaxCountInContents}/>
137
+ <H2Contents h2Template={convertFaqItemType(h2Template)} index={index} faqCount={h2Template.faqCount}/>
138
138
 
139
139
  {/*h3*/}
140
140
  {template
@@ -147,7 +147,7 @@ const LawInfoNew = ({ data, tel }) => {
147
147
  const news_length = newsLinkList.length;
148
148
  const news_content_length = newsLinkList.filter(i => i.tag_idx === h3Template.idx).length;
149
149
  return (<>
150
- <H3Contents h3Template={convertFaqItemType(h3Template)} key={'h3영역' + h3Template.idx} faqCount={faqElementMaxCountInContents}/>
150
+ <H3Contents h3Template={convertFaqItemType(h3Template)} key={'h3영역' + h3Template.idx} faqCount={h3Template.faqCount}/>
151
151
  {(refer_is_use &&
152
152
  refer_length > 0 &&
153
153
  refer_content_length > 0) ||
@@ -215,7 +215,7 @@ const LawInfoNew = ({ data, tel }: ILawInfoNewPageTypes) => {
215
215
  <H2Contents
216
216
  h2Template={convertFaqItemType(h2Template)}
217
217
  index={index}
218
- faqCount={faqElementMaxCountInContents as number}
218
+ faqCount={h2Template.faqCount as number}
219
219
  />
220
220
 
221
221
  {/*h3*/}
@@ -239,7 +239,7 @@ const LawInfoNew = ({ data, tel }: ILawInfoNewPageTypes) => {
239
239
  <H3Contents
240
240
  h3Template={convertFaqItemType(h3Template)}
241
241
  key={'h3영역' + h3Template.idx}
242
- faqCount={faqElementMaxCountInContents as number}
242
+ faqCount={h3Template.faqCount as number}
243
243
  />
244
244
  {(refer_is_use &&
245
245
  refer_length > 0 &&