@daeryun/dr_components 1.0.18 → 1.0.19

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.
@@ -8,6 +8,7 @@ import bg_mo from '../../../asset/images/strength/mo.webp';
8
8
  import arrow from '../../../asset/images/strength/arrow.webp';
9
9
  import arrow_red from '../../../asset/images/strength/red_arrow.webp';
10
10
  const StrengthIntro = ({ initialData }) => {
11
+ var _a;
11
12
  const { width } = useBrowser();
12
13
  const handleScroll = (index) => {
13
14
  const element = document.getElementById(`strength_${index}`);
@@ -133,7 +134,7 @@ const StrengthIntro = ({ initialData }) => {
133
134
  지난 7년간
134
135
  <br />
135
136
  <LgText className={'text-[2.1em] text-[#AB0634]'} isSmall>
136
- {initialData.experience_cnt.toLocaleString()}+
137
+ {(_a = initialData === null || initialData === void 0 ? void 0 : initialData.experience_cnt) === null || _a === void 0 ? void 0 : _a.toLocaleString()}+
137
138
  </LgText>{' '}
138
139
  </span>
139
140
  사건 수행 <span className={'text-[0.7em]'}>(*종결건수 기준)</span>
@@ -197,7 +197,7 @@ const StrengthIntro = ({ initialData }: { initialData: IInitialDataTypes }) => {
197
197
  지난 7년간
198
198
  <br />
199
199
  <LgText className={'text-[2.1em] text-[#AB0634]'} isSmall>
200
- {initialData.experience_cnt.toLocaleString()}+
200
+ {initialData?.experience_cnt?.toLocaleString()}+
201
201
  </LgText>{' '}
202
202
  </span>
203
203
  사건 수행 <span className={'text-[0.7em]'}>(*종결건수 기준)</span>