Skip to content

Commit 79e9baf

Browse files
authored
fix(app): use fetchQuery instead of ensureQueryData in global sync (#23025)
1 parent 9ee89f7 commit 79e9baf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/app/src/context/global-sync.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ function createGlobalSync() {
204204

205205
const limit = Math.max(store.limit + SESSION_RECENT_LIMIT, SESSION_RECENT_LIMIT)
206206
const promise = queryClient
207-
.ensureQueryData({
207+
.fetchQuery({
208208
...loadSessionsQuery(directory),
209209
queryFn: () =>
210210
loadRootSessionsWithFallback({

0 commit comments

Comments
 (0)