@daeryun/dr_components 1.0.7 → 1.0.8
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,13 +75,13 @@ const LawInfoNew = ({ data, tel }) => {
|
|
|
75
75
|
}
|
|
76
76
|
}, [template]);
|
|
77
77
|
const handleFaqItemType = (isFaqActive, faqCount) => {
|
|
78
|
-
if (isFaqActive || faqCount >=
|
|
78
|
+
if (isFaqActive || faqCount >= 1) {
|
|
79
79
|
return undefined;
|
|
80
80
|
}
|
|
81
81
|
return 'https://schema.org/FAQPage';
|
|
82
82
|
};
|
|
83
83
|
const handleFaqItemScope = (isFaqActive, faqCount) => {
|
|
84
|
-
if (isFaqActive || faqCount >=
|
|
84
|
+
if (isFaqActive || faqCount >= 1) {
|
|
85
85
|
return undefined;
|
|
86
86
|
}
|
|
87
87
|
return true;
|
|
@@ -103,7 +103,7 @@ const LawInfoNew = ({ data, tel }: ILawInfoNewPageTypes) => {
|
|
|
103
103
|
}, [template]);
|
|
104
104
|
|
|
105
105
|
const handleFaqItemType = (isFaqActive: boolean, faqCount: number): string | undefined => {
|
|
106
|
-
if (isFaqActive || faqCount >=
|
|
106
|
+
if (isFaqActive || faqCount >= 1) {
|
|
107
107
|
return undefined;
|
|
108
108
|
}
|
|
109
109
|
|
|
@@ -111,7 +111,7 @@ const LawInfoNew = ({ data, tel }: ILawInfoNewPageTypes) => {
|
|
|
111
111
|
};
|
|
112
112
|
|
|
113
113
|
const handleFaqItemScope = (isFaqActive: boolean, faqCount: number): true | undefined => {
|
|
114
|
-
if (isFaqActive || faqCount >=
|
|
114
|
+
if (isFaqActive || faqCount >= 1) {
|
|
115
115
|
return undefined;
|
|
116
116
|
}
|
|
117
117
|
|