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:
Rostislav Wolny
2020-02-17 18:27:57 +01:00
committed by Jack Kitterhing
parent 0fd954184d
commit 01d54a085d

View File

@@ -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">