<!-- 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; [removeQueryPreviewInstance](./x-components.queriespreviewmutations.removequerypreviewinstance.md)

## QueriesPreviewMutations.removeQueryPreviewInstance property

Decreases in 1 the instance counter and removes the query preview if the counter is 0 and cache is false.

**Signature:**

```typescript
removeQueryPreviewInstance: ({ queryPreviewHash, cache, }: {
        queryPreviewHash: string;
        cache: boolean;
    }) => void;
```
