Fix imports for mailpoet block icon
This import caused that whole components package was bundeled into block js asset and was causing various issues. [MAILPOET-1798]
This commit is contained in:
committed by
Jack Kitterhing
parent
0fd954184d
commit
01d54a085d
@@ -1,5 +1,6 @@
|
||||
/* eslint-disable react/react-in-jsx-scope */
|
||||
import { G, Path, SVG } from '@wordpress/components';
|
||||
const wp = window.wp;
|
||||
const { G, Path, SVG } = wp.components;
|
||||
|
||||
export default (
|
||||
<SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 152.02 156.4">
|
||||
|
Reference in New Issue
Block a user