Fix progress title logic

This commit is contained in:
Lourens Schep 2022-03-23 17:24:08 -03:00
parent 3ced44cc40
commit 3ebf785665
1 changed files with 1 additions and 1 deletions

View File

@ -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' );