Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gmaclennan committed Oct 25, 2023
1 parent 9eb5d62 commit 1f0cbca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sync/namespace-sync-state.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class NamespaceSyncState {
coreState.remoteStates
)) {
if (!(peerId in state.remoteStates)) {
state.remoteStates[peerId] = createState(peerCoreState.status)
state.remoteStates[peerId] = peerCoreState
} else {
mutatingAddPeerState(state.remoteStates[peerId], peerCoreState)
}
Expand Down

0 comments on commit 1f0cbca

Please sign in to comment.