<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [HistoryQueriesActions](./x-components.historyqueriesactions.md) &gt; [removeFromHistory](./x-components.historyqueriesactions.removefromhistory.md)

## HistoryQueriesActions.removeFromHistory() method

Removes a single query from the history, synchronizing it with the browser storage.

**Signature:**

```typescript
removeFromHistory(historyQuery: HistoryQuery): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  historyQuery | HistoryQuery | The <code>HistoryQuery</code> to remove. |

**Returns:**

void

