@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 723 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [QueriesPreviewMutations](./x-components.queriespreviewmutations.md) > [addQueryPreviewInstance](./x-components.queriespreviewmutations.addquerypreviewinstance.md)
## QueriesPreviewMutations.addQueryPreviewInstance() method
Increases in 1 the instance counter.
**Signature:**
```typescript
addQueryPreviewInstance(queryPreviewHash: string): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| queryPreviewHash | string | The query preview key to save to the number of instances. |
**Returns:**
void