From 6df6594ee16944390cbc4ae4f00e7631bee9f5ac Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Wed, 10 Oct 2018 11:11:34 -0400 Subject: [PATCH] DatePicker: update selected tab code to reflect update to TabPanel component --- .../woocommerce-admin/client/components/filters/date/content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/woocommerce-admin/client/components/filters/date/content.js b/plugins/woocommerce-admin/client/components/filters/date/content.js index 479523e332e..22d14657ceb 100644 --- a/plugins/woocommerce-admin/client/components/filters/date/content.js +++ b/plugins/woocommerce-admin/client/components/filters/date/content.js @@ -83,7 +83,7 @@ class DatePickerContent extends Component { initialTabName={ 'custom' === period ? 'custom' : 'period' } onSelect={ this.onTabSelect } > - { selectedTab => ( + { ( { name: selectedTab } ) => ( { selectedTab === 'period' && (