@@ -202,21 +202,25 @@ public struct _NavigationDestinationViewModifier<
202202 content
203203 . environment ( \. navigationDestinationType, State . self)
204204 . 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)
207210 }
208211 }
209212}
210213
211214@_spi ( Internals)
212- public extension Store {
213- func scope< ChildState, ChildAction> (
215+ extension Store {
216+ public func scope< ChildState, ChildAction> (
214217 component: StackState < ChildState > . Component ,
215218 fileID: StaticString = #fileID,
216219 filePath: StaticString = #filePath,
217220 line: UInt = #line,
218221 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 > {
220224 let id = self . id (
221225 state:
222226 \. [
0 commit comments