Skip to content

Commit

Permalink
Merge branch 'corel' into corel-42-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RitaDias authored Jul 10, 2024
2 parents 95345a3 + a281464 commit 1d211f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/sanity/src/core/store/bundles/createBundlesStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {
BehaviorSubject,
catchError,
concatWith,
delay,
EMPTY,
filter,
map,
Expand Down Expand Up @@ -172,7 +171,7 @@ export function createBundlesStore(context: {client: SanityClient | null}): Bund
// After successful reconnection, fetch the list. Note that the first event is skipped, so
// this will not occur upon initial connection.
if (event.type === 'welcome') {
return listFetch$.pipe(delay(1_000))
return listFetch$
}

// The reconnect event means that we are trying to reconnect to the realtime listener.
Expand Down

0 comments on commit 1d211f7

Please sign in to comment.