<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [setQueryFromLastHistoryQueryWire](./x-components.setqueryfromlasthistoryquerywire.md)

## setQueryFromLastHistoryQueryWire variable

Sets the next queries state `query` with the last query in history queries.

**Signature:**

```typescript
setQueryFromLastHistoryQueryWire: import("../..").Wire<import("@empathyco/x-types").HistoryQuery[]>
```
