← All changes
|
src/Agent/workflows/theme/components/change-site-design/SelectSiteDesign.jsx
+3
-6
3.2.1
→
3.2.2
View file →
| @@ -15,9 +15,8 @@ | ||
| 15 | 15 | import { normalizeSiteImages } from '@shared/lib/site-images'; |
| 16 | 16 | import apiFetch from '@wordpress/api-fetch'; |
| 17 | 17 | import { registerCoreBlocks } from '@wordpress/block-library'; |
| 18 | 18 | import { getBlockTypes, parse, serialize } from '@wordpress/blocks'; |
| 19 | -import { Spinner } from '@wordpress/components'; | |
| 20 | 19 | import { useDispatch } from '@wordpress/data'; |
| 21 | 20 | import { useEffect, useMemo, useRef, useState } from '@wordpress/element'; |
| 22 | 21 | import { __ } from '@wordpress/i18n'; |
| 23 | 22 | import classnames from 'classnames'; |
| @@ -483,13 +482,11 @@ | ||
| 483 | 482 | )} |
| 484 | 483 | disabled={!selectedHeroPattern || isSaving} |
| 485 | 484 | onClick={handleConfirm} |
| 486 | 485 | > |
| 487 | - {isSaving ? ( | |
| 488 | - <Spinner className="m-0" /> | |
| 489 | - ) : ( | |
| 490 | - __('Save', 'extendify-local') | |
| 491 | - )} | |
| 486 | + {isSaving | |
| 487 | + ? __('Saving...', 'extendify-local') | |
| 488 | + : __('Save', 'extendify-local')} | |
| 492 | 489 | </button> |
| 493 | 490 | </div> |
| 494 | 491 | </div> |
| 495 | 492 | ); |