@daeryun/dr_components 1.2.60 → 1.2.62
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.
|
@@ -75,6 +75,9 @@ const LawInfoNewView = ({ data, tel }) => {
|
|
|
75
75
|
}
|
|
76
76
|
return template;
|
|
77
77
|
};
|
|
78
|
+
console.log('isFaqActive:', isFaqActive);
|
|
79
|
+
console.log('faqElementMaxCountInContents:', faqElementMaxCountInContents);
|
|
80
|
+
console.log('handleFaqItemType 결과:', handleFaqItemType(isFaqActive, faqElementMaxCountInContents));
|
|
78
81
|
// 변호사 6명 맞추기
|
|
79
82
|
useEffect(() => {
|
|
80
83
|
const originLawyerLength = lawyerData.length;
|
|
@@ -105,6 +108,8 @@ const LawInfoNewView = ({ data, tel }) => {
|
|
|
105
108
|
}
|
|
106
109
|
}
|
|
107
110
|
}, [template]);
|
|
111
|
+
console.log('itemScope:', handleFaqItemScope(isFaqActive, faqElementMaxCountInContents));
|
|
112
|
+
console.log('itemType:', handleFaqItemType(isFaqActive, faqElementMaxCountInContents));
|
|
108
113
|
return (<div itemScope={handleFaqItemScope(isFaqActive, faqElementMaxCountInContents)} itemType={handleFaqItemType(isFaqActive, faqElementMaxCountInContents)} ref={printRef}>
|
|
109
114
|
<div id={'sub_contents'}>
|
|
110
115
|
<LawInfoWrapper>
|
|
@@ -112,6 +112,10 @@ const LawInfoNewView = ({ data, tel }: ILawInfoNewPageTypes) => {
|
|
|
112
112
|
return template;
|
|
113
113
|
};
|
|
114
114
|
|
|
115
|
+
console.log('isFaqActive:', isFaqActive);
|
|
116
|
+
console.log('faqElementMaxCountInContents:', faqElementMaxCountInContents);
|
|
117
|
+
console.log('handleFaqItemType 결과:', handleFaqItemType(isFaqActive, faqElementMaxCountInContents as number));
|
|
118
|
+
|
|
115
119
|
// 변호사 6명 맞추기
|
|
116
120
|
useEffect(() => {
|
|
117
121
|
const originLawyerLength = lawyerData.length;
|
|
@@ -146,6 +150,9 @@ const LawInfoNewView = ({ data, tel }: ILawInfoNewPageTypes) => {
|
|
|
146
150
|
}
|
|
147
151
|
}, [template]);
|
|
148
152
|
|
|
153
|
+
console.log('itemScope:', handleFaqItemScope(isFaqActive, faqElementMaxCountInContents as number));
|
|
154
|
+
console.log('itemType:', handleFaqItemType(isFaqActive, faqElementMaxCountInContents as number));
|
|
155
|
+
|
|
149
156
|
return (
|
|
150
157
|
<div
|
|
151
158
|
itemScope={handleFaqItemScope(isFaqActive, faqElementMaxCountInContents as number)}
|