How to replace a Route within a Switch #10364
-
My existing code is listed below. According to the migration instructions, I need to swap out the Route with CompatRoute. How can I do this?
|
Beta Was this translation helpful? Give feedback.
Answered by
cathlearmo
Apr 18, 2023
Replies: 1 comment
-
As the route was the only one within a Switch statement, I removed the Switch, and it still works fine. So I've resolved this issue by removing the Switch. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cathlearmo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As the route was the only one within a Switch statement, I removed the Switch, and it still works fine. So I've resolved this issue by removing the Switch.