-
- { primary.label } ({ primary.range })
-
-
- vs. { secondary.label } ({ secondary.range })
-
-
- );
+ return [
+ `${ primary.label } (${ primary.range })`,
+ `${ __( 'vs.', 'woo-dash' ) } ${ secondary.label } (${ secondary.range })`,
+ ];
}
isValidSelection( selectedTab ) {
@@ -91,33 +87,34 @@ class DatePicker extends Component {
render() {
const { period, compare, after, before } = this.state;
return (
-