@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 696 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [NextQueriesMutations](./x-components.nextqueriesmutations.md) > [setSearchedQueries](./x-components.nextqueriesmutations.setsearchedqueries.md)
## NextQueriesMutations.setSearchedQueries() method
Sets the searched queries of the module.
**Signature:**
```typescript
setSearchedQueries(searchedQueries: HistoryQuery[]): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| searchedQueries | HistoryQuery\[\] | The searched queries to save to the state. |
**Returns:**
void