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.js CHANGED
@@ -2,15 +2,15 @@
2
2
 
3
3
 
4
4
 
5
- function ___$insertStyle(css) {
6
- if (!css || typeof window === 'undefined') {
7
- return;
8
- }
9
- const style = document.createElement('style');
10
- style.setAttribute('type', 'text/css');
11
- style.innerHTML = css;
12
- document.head.appendChild(style);
13
- return css;
5
+ function ___$insertStyle(css) {
6
+ if (!css || !window) {
7
+ return;
8
+ }
9
+ const style = document.createElement('style');
10
+ style.setAttribute('type', 'text/css');
11
+ style.innerHTML = css;
12
+ document.head.appendChild(style);
13
+ return css;
14
14
  }
15
15
 
16
16
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -7445,6 +7445,8 @@ const SingleVideoSlide$1 = props => {
7445
7445
  const momentLocale = countryCode === 'KR' ? 'ko' : 'in';
7446
7446
  if (countryCode === 'KR') {
7447
7447
  moment__default["default"].updateLocale('ko', koreanLocale__default["default"]);
7448
+ } else {
7449
+ moment__default["default"].locale('en');
7448
7450
  }
7449
7451
  return /*#__PURE__*/React__default["default"].createElement("div", {
7450
7452
  className: classes.videoCarouselContainer