Skip to content

Commit

Permalink
Update RefdsReduxStore.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelesantos committed Apr 11, 2024
1 parent 5cca287 commit 84e7c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/RefdsRedux/RefdsReduxStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public final class RefdsReduxStore<State>: ObservableObject {
}

public func dispatch(action: RefdsReduxAction) {
DispatchQueue.main.sync {
DispatchQueue.main.async {
withAnimation {
self.state = self.reducer(self.state, action)
}
Expand Down

0 comments on commit 84e7c10

Please sign in to comment.