Change CTA text for personalize store task after completion (https://github.com/woocommerce/woocommerce-admin/pull/7852)

* Change CTA text for personalize store task after completion

* Changelog
This commit is contained in:
Ilyas Foo 2021-10-27 17:41:34 +08:00 committed by GitHub
parent d97a45c432
commit 7ae80e7969
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: Update
Change CTA text for personalize store task after completion #7852

View File

@ -33,7 +33,9 @@ const AppearanceHeader = ( { task, goToTask } ) => {
isPrimary={ ! task.isComplete } isPrimary={ ! task.isComplete }
onClick={ goToTask } onClick={ goToTask }
> >
{ __( 'Personalize', 'woocommerce-admin' ) } { task.isComplete
? __( 'Modify choices', 'woocommerce-admin' )
: __( 'Personalize', 'woocommerce-admin' ) }
</Button> </Button>
<p className="woocommerce-task-header__timer"> <p className="woocommerce-task-header__timer">
<img src={ TimerImage } alt="Timer" />{ ' ' } <img src={ TimerImage } alt="Timer" />{ ' ' }