<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [HistoryQueriesActions](./x-components.historyqueriesactions.md) &gt; [setHistoryQueries](./x-components.historyqueriesactions.sethistoryqueries.md)

## HistoryQueriesActions.setHistoryQueries property

Sets the history queries, synchronizing them with the browser storage. It also removes the oldest query if the history queries length is bigger than the [HistoryQueriesConfig.maxItemsToStore](./x-components.historyqueriesconfig.maxitemstostore.md)<!-- -->.

**Signature:**

```typescript
setHistoryQueries: (historyQueries: HistoryQuery[]) => void;
```
