Skip to content

Commit 90e9741

Browse files
authored
Change initialThread to a let. (#778)
1 parent 33279f4 commit 90e9741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ComposableArchitecture/Store.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public final class Store<State, Action> {
121121
private let reducer: (inout State, Action) -> Effect<Action, Never>
122122
private var bufferedActions: [Action] = []
123123
#if DEBUG
124-
private var initialThread = Thread.current
124+
private let initialThread = Thread.current
125125
#endif
126126

127127
/// Initializes a store from an initial state, a reducer, and an environment.

0 commit comments

Comments
 (0)