| @@ -1,17 +1,12 @@ | ||
| 1 | 1 | /** |
| 2 | 2 | * WordPress dependencies |
| 3 | 3 | */ |
| 4 | -const { __ } = wp.i18n; | |
| 4 | +import { Fragment } from '@wordpress/element'; | |
| 5 | +import ServerSideRender from '@wordpress/server-side-render'; | |
| 6 | +import {withSelect} from '@wordpress/data'; | |
| 5 | 7 | |
| 6 | 8 | /** |
| 7 | - * WordPress dependencies | |
| 8 | - */ | |
| 9 | -const { Fragment } = wp.element; | |
| 10 | -const { ServerSideRender } = wp.components; | |
| 11 | -const { withSelect } = wp.data; | |
| 12 | - | |
| 13 | -/** | |
| 14 | 9 | * Internal dependencies |
| 15 | 10 | */ |
| 16 | 11 | import Inspector from './inspector'; |
| 17 | 12 | |
| @@ -19,9 +14,9 @@ | ||
| 19 | 14 | * Render Block UI For Editor |
| 20 | 15 | */ |
| 21 | 16 | |
| 22 | 17 | const GiveDonationFormGrid = ( props ) => { |
| 23 | - const {attributes} = props; | |
| 18 | + const { attributes } = props; | |
| 24 | 19 | |
| 25 | 20 | return ( |
| 26 | 21 | <Fragment> |
| 27 | 22 | <Inspector { ... { ...props } } /> |