Stock Indicator Block: remove unused save function (https://github.com/woocommerce/woocommerce-blocks/pull/8832)

This commit is contained in:
Luigi Teschio 2023-03-23 09:43:42 +01:00 committed by GitHub
parent a06f4fbd91
commit 9baad55f4f
1 changed files with 0 additions and 21 deletions

View File

@ -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 ),
} ) }
/>
);
};