Skip to content

Commit

Permalink
Merge pull request #39 from ahmed-yamany/patch-1
Browse files Browse the repository at this point in the history
remove .body from navigationDestination
  • Loading branch information
JamesSedlacek authored Jun 19, 2024
2 parents b996580 + e75c810 commit 7affded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Routing/Views/RoutingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public struct RoutingView<Root: View, Routes: Routable>: View {
NavigationStack(path: $routes) {
root()
.navigationDestination(for: Routes.self) { view in
view.body
view
}
}
}
Expand Down

0 comments on commit 7affded

Please sign in to comment.