<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [addQueryToHistoryQueriesFromPreview](./x-components.addquerytohistoryqueriesfrompreview.md)

## addQueryToHistoryQueriesFromPreview variable

Saves the selectedQueryPreview query into the history queries.

**Signature:**

```typescript
addQueryToHistoryQueriesFromPreview: import("../..").AnyWire
```
