@@ -202,21 +202,25 @@ public struct _NavigationDestinationViewModifier<
202
202
content
203
203
. environment ( \. navigationDestinationType, State . self)
204
204
. navigationDestination ( for: StackState < State > . Component. self) { component in
205
- destination ( store. scope ( component: component, fileID: fileID, filePath: filePath, line: line, column: column) )
206
- . environment ( \. navigationDestinationType, State . self)
205
+ destination (
206
+ store. scope (
207
+ component: component, fileID: fileID, filePath: filePath, line: line, column: column)
208
+ )
209
+ . environment ( \. navigationDestinationType, State . self)
207
210
}
208
211
}
209
212
}
210
213
211
214
@_spi ( Internals)
212
- public extension Store {
213
- func scope< ChildState, ChildAction> (
215
+ extension Store {
216
+ public func scope< ChildState, ChildAction> (
214
217
component: StackState < ChildState > . Component ,
215
218
fileID: StaticString = #fileID,
216
219
filePath: StaticString = #filePath,
217
220
line: UInt = #line,
218
221
column: UInt = #column
219
- ) -> Store < ChildState , ChildAction > where State == StackState < ChildState > , Action == StackAction < ChildState , ChildAction > {
222
+ ) -> Store < ChildState , ChildAction >
223
+ where State == StackState < ChildState > , Action == StackAction < ChildState , ChildAction > {
220
224
let id = self . id (
221
225
state:
222
226
\. [
0 commit comments