diy-template-components 1.0.2 → 1.0.4
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.
- package/build/index.es.js +11 -9
- package/build/index.es.js.map +1 -1
- package/build/index.js +11 -9
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
function ___$insertStyle(css) {
|
|
2
|
-
if (!css ||
|
|
3
|
-
return;
|
|
4
|
-
}
|
|
5
|
-
const style = document.createElement('style');
|
|
6
|
-
style.setAttribute('type', 'text/css');
|
|
7
|
-
style.innerHTML = css;
|
|
8
|
-
document.head.appendChild(style);
|
|
9
|
-
return css;
|
|
1
|
+
function ___$insertStyle(css) {
|
|
2
|
+
if (!css || !window) {
|
|
3
|
+
return;
|
|
4
|
+
}
|
|
5
|
+
const style = document.createElement('style');
|
|
6
|
+
style.setAttribute('type', 'text/css');
|
|
7
|
+
style.innerHTML = css;
|
|
8
|
+
document.head.appendChild(style);
|
|
9
|
+
return css;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
import React, { createContext, useContext, forwardRef, useRef, useEffect, useState, useMemo, useLayoutEffect, Suspense, memo, lazy, Fragment } from 'react';
|
|
@@ -7429,6 +7429,8 @@ const SingleVideoSlide$1 = props => {
|
|
|
7429
7429
|
const momentLocale = countryCode === 'KR' ? 'ko' : 'in';
|
|
7430
7430
|
if (countryCode === 'KR') {
|
|
7431
7431
|
moment.updateLocale('ko', koreanLocale);
|
|
7432
|
+
} else {
|
|
7433
|
+
moment.locale('en');
|
|
7432
7434
|
}
|
|
7433
7435
|
return /*#__PURE__*/React.createElement("div", {
|
|
7434
7436
|
className: classes.videoCarouselContainer
|