Skip to content

Commit 30423e3

Browse files
author
Hoang Pham
committed
fix: remove duplicated updateResults
1 parent 31900c8 commit 30423e3

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

Sources/SwiftUIQuery/InfiniteQueryObserver.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,6 @@ public final class InfiniteQueryObserver<
286286
// Error will be reflected in the updated state
287287
}
288288

289-
// Update result and return it
290-
updateResult()
291289
return result
292290
}
293291
}
@@ -304,8 +302,6 @@ public final class InfiniteQueryObserver<
304302
// Error will be reflected in the updated state
305303
}
306304

307-
// Update result and return it
308-
updateResult()
309305
return result
310306
}
311307
}

0 commit comments

Comments
 (0)