Remove timeFrame from the query

This commit is contained in:
Bart Kalisz 2024-09-09 16:24:08 +02:00 committed by Christopher Allford
parent 50bec181e1
commit 155705aa78
No known key found for this signature in database
GPG Key ID: 80E44C778F08A88E
1 changed files with 1 additions and 9 deletions

View File

@ -8,11 +8,7 @@ import { __ } from '@wordpress/i18n';
* Internal dependencies
*/
import { INNER_BLOCKS_PRODUCT_TEMPLATE } from '../constants';
import {
CoreCollectionNames,
CoreFilterNames,
ETimeFrameOperator,
} from '../types';
import { CoreCollectionNames, CoreFilterNames } from '../types';
const Icon = () => {
return (
@ -72,10 +68,6 @@ const attributes = {
order: 'desc',
perPage: 5,
pages: 1,
timeFrame: {
operator: ETimeFrameOperator.IN,
value: '-7 days',
},
},
hideControls: [ CoreFilterNames.HAND_PICKED ],
};