diff --git a/packages/shape-modeling/src/filters/with-shape-modeling-decoration.js b/packages/shape-modeling/src/filters/with-shape-modeling-decoration.js index 40caa0cd..5f4e4e18 100644 --- a/packages/shape-modeling/src/filters/with-shape-modeling-decoration.js +++ b/packages/shape-modeling/src/filters/with-shape-modeling-decoration.js @@ -1,7 +1,5 @@ import classnames from 'classnames'; -import { Spring, animated } from 'react-spring'; import { createHigherOrderComponent } from '@wordpress/compose'; -import { Fragment } from "@wordpress/element"; import { generatePath, @@ -9,6 +7,7 @@ import { getBlobAttsFromAttributes, getBlobStyles, getBlobMaskStyles, + getBlobMediaStyles, } from '../utils'; import { getColorSignalClassnames } from "@novablocks/utils"; @@ -51,41 +50,26 @@ const withShapeModelingDecoration = createHigherOrderComponent( OriginalComponen return (
- - { springProps => { - return ( - -
- - - - - { - blobsEnableMask && enableShapeDebug && - - } - -
-
- ); - } } -
+
+
+ +
+ + { + blobsEnableMask && enableShapeDebug && + + } + +
{ blobsEnableDecoration && - - { props => { - - return ( - - - { - enableShapeDebug && - - } - - ); - } } - + + + { + enableShapeDebug && + + } + }
)