@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 705 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [NextQueriesActions](./x-components.nextqueriesactions.md) > [setQueryFromLastHistoryQuery](./x-components.nextqueriesactions.setqueryfromlasthistoryquery.md)
## NextQueriesActions.setQueryFromLastHistoryQuery() method
Sets the query of the module based on the last history query.
**Signature:**
```typescript
setQueryFromLastHistoryQuery(historyQueries: HistoryQuery[]): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| historyQueries | HistoryQuery\[\] | |
**Returns:**
void