@daeryun/dr_components 0.9.99 → 1.0.0

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.
@@ -88,7 +88,7 @@ const LawInfoNew = ({ data, tel }) => {
88
88
  };
89
89
  const convertFaqItemType = (template) => {
90
90
  console.log('faqElementMaxCountInContents : ', faqElementMaxCountInContents);
91
- if (faqElementMaxCountInContents >= 2) {
91
+ if (faqElementMaxCountInContents >= 1) {
92
92
  template.description = template.description.replaceAll(/<div\s+itemscope=""\s+itemtype="https:\/\/schema\.org\/FAQPage">/gi, '<div>');
93
93
  return template;
94
94
  }
@@ -120,7 +120,7 @@ const LawInfoNew = ({ data, tel }: ILawInfoNewPageTypes) => {
120
120
 
121
121
  const convertFaqItemType = (template: ISeoTemplateTypes): ISeoTemplateTypes => {
122
122
  console.log('faqElementMaxCountInContents : ', faqElementMaxCountInContents);
123
- if ((faqElementMaxCountInContents as number) >= 2) {
123
+ if ((faqElementMaxCountInContents as number) >= 1) {
124
124
  template.description = template.description.replaceAll(
125
125
  /<div\s+itemscope=""\s+itemtype="https:\/\/schema\.org\/FAQPage">/gi,
126
126
  '<div>'