Skip to content

Commit

Permalink
Update filter label
Browse files Browse the repository at this point in the history
Also removes unneeded import.

Props @jancavan.
  • Loading branch information
obenland committed Jun 23, 2020
1 parent 166ccf2 commit 87a8b9b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/**
* External dependencies
*/
import { __experimentalGetSettings } from '@wordpress/date';
import { __ } from '@wordpress/i18n';
import { SelectControl, Button } from '@wordpress/components';
import { omit } from 'lodash';
Expand Down Expand Up @@ -29,7 +28,7 @@ function CategoryOption( { value, updateFilter } ) {
function DateOption( { value, updateFilter } ) {
return (
<SelectControl
label={ __( 'Sort by time period', 'jetpack' ) }
label={ __( 'Filter by time period', 'jetpack' ) }
value={ value?.range || DATE_RANGE_ANY }
options={ GOOGLE_PHOTOS_DATE_PRESETS }
onChange={ range => updateFilter( { range } ) }
Expand Down

0 comments on commit 87a8b9b

Please sign in to comment.