<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [QueriesPreviewMutations](./x-components.queriespreviewmutations.md) &gt; [clearQueryPreview](./x-components.queriespreviewmutations.clearquerypreview.md)

## QueriesPreviewMutations.clearQueryPreview() method

Removes a query preview entry from the queries preview's dictionary.

**Signature:**

```typescript
clearQueryPreview(queryPreviewHash: string): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  queryPreviewHash | string | Query hash whose entry will be removed. |

**Returns:**

void

