diy-template-components 0.2.34 → 0.2.35
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 +2 -10
- package/build/index.es.js.map +1 -1
- package/build/index.js +2 -11
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -11,7 +11,6 @@ function ___$insertStyle(css) {
|
|
|
11
11
|
|
|
12
12
|
import React, { createContext, useContext, forwardRef, useRef, useEffect, useState, useMemo, useLayoutEffect, Suspense, memo, lazy, Fragment } from 'react';
|
|
13
13
|
import Slider from 'react-slick';
|
|
14
|
-
import Image from 'next/image';
|
|
15
14
|
import axios from 'axios';
|
|
16
15
|
import moment from 'moment';
|
|
17
16
|
import Countdown from 'react-countdown';
|
|
@@ -2280,15 +2279,8 @@ const NextImageRenderer = ({
|
|
|
2280
2279
|
className
|
|
2281
2280
|
} = props;
|
|
2282
2281
|
if (isCustomWebsite) {
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
// layout: 'fill',
|
|
2286
|
-
// ref: { refSetter },
|
|
2287
|
-
// className: { className },
|
|
2288
|
-
// ...props
|
|
2289
|
-
// });)
|
|
2290
|
-
|
|
2291
|
-
return /*#__PURE__*/React.createElement(Image, _extends({
|
|
2282
|
+
const NextImage = require('next/image').default;
|
|
2283
|
+
return /*#__PURE__*/React.createElement(NextImage, _extends({
|
|
2292
2284
|
src: src,
|
|
2293
2285
|
layout: 'fill',
|
|
2294
2286
|
ref: refSetter,
|