@cntrl-site/sdk-nextjs 1.0.4 → 1.0.5
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.
|
@@ -61,7 +61,6 @@ const ImageItem = ({ item, sectionId, onResize }) => {
|
|
|
61
61
|
cursor: FXCursor,
|
|
62
62
|
controls: controlValues
|
|
63
63
|
}, width, height);
|
|
64
|
-
console.log('isFXAllowed: ', isFXAllowed);
|
|
65
64
|
const rect = (0, useElementRect_1.useElementRect)(ref);
|
|
66
65
|
const rectWidth = Math.floor((_b = rect === null || rect === void 0 ? void 0 : rect.width) !== null && _b !== void 0 ? _b : 0);
|
|
67
66
|
const rectHeight = Math.floor((_c = rect === null || rect === void 0 ? void 0 : rect.height) !== null && _c !== void 0 ? _c : 0);
|
package/package.json
CHANGED
|
@@ -62,7 +62,6 @@ export const ImageItem: FC<ItemProps<TImageItem>> = ({ item, sectionId, onResize
|
|
|
62
62
|
width,
|
|
63
63
|
height
|
|
64
64
|
);
|
|
65
|
-
console.log('isFXAllowed: ', isFXAllowed);
|
|
66
65
|
const rect = useElementRect(ref);
|
|
67
66
|
const rectWidth = Math.floor(rect?.width ?? 0);
|
|
68
67
|
const rectHeight = Math.floor(rect?.height ?? 0);
|
|
Binary file
|