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:
parent
7ae80e7969
commit
96028ff055
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: Fix
|
||||
|
||||
Revert experiment task titles back to original #7853
|
|
@ -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={ () => {
|
||||
|
|
Loading…
Reference in New Issue