| 1 |
/** |
| 2 |
* WordPress dependencies |
| 3 |
*/ |
| 4 |
const {Fragment} = wp.element; |
| 5 |
const ServerSideRender = wp.serverSideRender; |
| 6 |
|
| 7 |
/** |
| 8 |
* Internal dependencies |
| 9 |
*/ |
| 10 |
import Inspector from './inspector'; |
| 11 |
|
| 12 |
const edit = ({attributes, setAttributes}) => { |
| 13 |
return ( |
| 14 |
<Fragment> |
| 15 |
<Inspector {...{attributes, setAttributes}} /> |
| 16 |
<ServerSideRender block="give/donor-dashboard" attributes={attributes} /> |
| 17 |
</Fragment> |
| 18 |
); |
| 19 |
}; |
| 20 |
export default edit; |
| 21 |
|