Skip to content

Commit bf513ad

Browse files
committed
readme fix
1 parent a6be459 commit bf513ad

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,11 @@ To execute queries / mutations directly on the robot client, use the following c
6464

6565
```svelte
6666
<script lang="ts">
67-
import { createRobotMutation, createRobotQuery, useRobotClient } from '$lib';
67+
import {
68+
createRobotMutation,
69+
createRobotQuery,
70+
useRobotClient,
71+
} from '@viamrobotics/svelte-sdk';
6872
6973
let { partID } = $props();
7074
@@ -121,7 +125,7 @@ Is moving: {isMoving.current.data ?? false}
121125

122126
### useResourceNames
123127

124-
Wraps `client.resourceNames()` in a reactive query.
128+
Wraps `client.resourceNames()` in a reactive query. Supports optional filtering by resource subtype.
125129

126130
```svelte
127131
<script lang="ts">

0 commit comments

Comments
 (0)