Skip to content

Commit 236c53e

Browse files
committed
Remove unnecessary plugin registration
1 parent d1658e2 commit 236c53e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

plugins/woocommerce-admin/client/products/product-title.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
PRODUCTS_STORE_NAME,
88
WCDataSelector,
99
} from '@woocommerce/data';
10-
import { registerPlugin } from '@wordpress/plugins';
1110
import { useFormContext } from '@woocommerce/components';
1211
import { useParams } from 'react-router-dom';
1312
import { useSelect } from '@wordpress/data';
@@ -38,8 +37,3 @@ export const ProductTitle: React.FC = () => {
3837

3938
return <WooHeaderPageTitle>{ title }</WooHeaderPageTitle>;
4039
};
41-
42-
registerPlugin( 'woocommerce-product-title', {
43-
render: ProductTitle,
44-
icon: 'admin-generic',
45-
} );

0 commit comments

Comments
 (0)