Skip to content

Commit 6792a10

Browse files
committed
fix(useFragment): create subscription for first observable
1 parent 57e1c1a commit 6792a10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue-apollo-composable/src/useFragment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ export function useFragmentImpl<
410410
},
411411
})
412412
}
413-
})
413+
}, { immediate: true })
414414
// #endregion
415415

416416
// #region Cleanup

0 commit comments

Comments
 (0)