PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.18.0
GiveWP – Donation Plugin and Fundraising Platform v4.18.0
4.18.0 4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 All 257 releases
← All changes | blocks/components/blank-slate/index.js +4 -5 2.3.1 → 4.18.0 View file →
@@ -1,16 +1,15 @@
1 1 /**
2 2 * WordPress dependencies
3 3 */
4 -const { __ } = wp.i18n;
4 +import { __ } from '@wordpress/i18n'
5 5
6 6 /**
7 7 * Internal dependencies
8 8 */
9 -import { getSiteUrl } from '../../utils';
10 9 import GiveHelpLink from '../help-link';
11 10 import PlaceholderAnimation from '../placeholder-animation';
12 -import GiveLogo from '../logo';
11 +import GiveIcon from '@givewp/components/GiveIcon';
13 12
14 13 const GiveBlankSlate = ( props ) => {
15 14 const {
16 15 noIcon,
@@ -26,9 +25,9 @@
26 25 );
27 26
28 27 const blockLoaded = (
29 28 <div className="block-loaded">
30 - { !! title && ( <h2 className="give-blank-slate__heading">{ title }</h2> ) }
29 + { !! title && ( <h3 className="give-blank-slate__heading">{ title }</h3> ) }
31 30 { !! description && ( <p className="give-blank-slate__message">{ description }</p> ) }
32 31 { children }
33 32 { !! helpLink && ( <GiveHelpLink /> ) }
34 33 </div>
@@ -35,9 +34,9 @@
35 34 );
36 35
37 36 return (
38 37 <div className="give-blank-slate">
39 - { ! noIcon && <GiveLogo size="80" className="give-blank-slate__image" /> }
38 + { ! noIcon && <GiveIcon size="80" className="give-blank-slate__image" /> }
40 39 { !! isLoader ? blockLoading : blockLoaded }
41 40 </div>
42 41 );
43 42 };