Stock Indicator Block: remove unused save function (https://github.com/woocommerce/woocommerce-blocks/pull/8832)
This commit is contained in:
parent
a06f4fbd91
commit
9baad55f4f
|
@ -1,21 +0,0 @@
|
|||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
import { useBlockProps } from '@wordpress/block-editor';
|
||||
import classnames from 'classnames';
|
||||
|
||||
type Props = {
|
||||
attributes: Record< string, unknown > & {
|
||||
className?: string;
|
||||
};
|
||||
};
|
||||
|
||||
export const Save = ( { attributes }: Props ): JSX.Element => {
|
||||
return (
|
||||
<div
|
||||
{ ...useBlockProps.save( {
|
||||
className: classnames( 'is-loading', attributes.className ),
|
||||
} ) }
|
||||
/>
|
||||
);
|
||||
};
|
Loading…
Reference in New Issue