diff --git a/Sources/Route.swift b/Sources/Route.swift index d116856..3f845a1 100644 --- a/Sources/Route.swift +++ b/Sources/Route.swift @@ -130,6 +130,7 @@ public struct Route: View { .environment(\.relativePath, routeInformation.path) .environmentObject(routeInformation) .environmentObject(SwitchRoutesEnvironment()) + .id(self.path) } } }