Fix progress title logic
This commit is contained in:
parent
3ced44cc40
commit
3ebf785665
|
@ -62,7 +62,7 @@ export const ProgressHeader: React.FC< ProgressHeaderProps > = ( {
|
||||||
if ( completedCount > 0 && completedCount < 4 ) {
|
if ( completedCount > 0 && completedCount < 4 ) {
|
||||||
return __( "Let's get you started", 'woocommerce-admin' ) + ' 🚀';
|
return __( "Let's get you started", 'woocommerce-admin' ) + ' 🚀';
|
||||||
}
|
}
|
||||||
if ( completedCount > 3 && completedCount < 7 ) {
|
if ( completedCount > 3 && completedCount < 6 ) {
|
||||||
return __( 'You are on the right track', 'woocommerce-admin' );
|
return __( 'You are on the right track', 'woocommerce-admin' );
|
||||||
}
|
}
|
||||||
return __( 'You are almost there', 'woocommerce-admin' );
|
return __( 'You are almost there', 'woocommerce-admin' );
|
||||||
|
|
Loading…
Reference in New Issue