Revert experiment task titles back to original (https://github.com/woocommerce/woocommerce-admin/pull/7853)

* Remove experiment task titles

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

View File

@ -0,0 +1,4 @@
Significance: patch
Type: Fix
Revert experiment task titles back to original #7853

View File

@ -20,12 +20,6 @@ import taskHeaders from './task-headers';
import DismissModal from './dissmiss-modal';
import TaskListCompleted from './completed';
// Temporary experiment titles which differs from current task titles.
const experimentTaskTitles = {
marketing: __( 'Get more sales', 'woocommerce-admin' ),
'woocommerce-payments': __( 'Set up payments', 'woocommerce-admin' ),
};
export const TaskList = ( {
query,
taskListId,
@ -248,10 +242,7 @@ export const TaskList = ( {
<TaskItem
key={ task.id }
className={ className }
title={
experimentTaskTitles[ task.id ] ??
task.title
}
title={ task.title }
completed={ task.isComplete }
content={ task.content }
onClick={ () => {