@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 725 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [HistoryQueriesActions](./x-components.historyqueriesactions.md) > [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