Skip to content

Commit 4281483

Browse files
committed
cleanup
1 parent c7e7dec commit 4281483

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/hooks/resource-names.svelte.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ export const provideResourceNamesContext = () => {
7070

7171
const partIDs = $derived(Object.keys(clients.current));
7272
const options = $derived(
73-
Object.entries(clients.current).map(([partID, client]) => {
73+
partIDs.map((partID) => {
74+
const client = clients.current[partID];
7475
return queryOptions({
7576
enabled: client !== undefined,
7677
queryKey: [

0 commit comments

Comments
 (0)