Remove timeFrame from the query

This commit is contained in:
Bart Kalisz 2024-09-09 16:24:08 +02:00
parent 3d5e7c3610
commit 6e09d7b480
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 ],
};