<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [QuerySuggestionsMutations](./x-components.querysuggestionsmutations.md) &gt; [setSearchedQueries](./x-components.querysuggestionsmutations.setsearchedqueries.md)

## QuerySuggestionsMutations.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

