Using the materialUi.switch at the same time the react.router.dom.switch is used leads to an issue where only one type of switch is expressed.
How to Reproduce
Try using the routing switch and the material UI switch in the same project. Although the imports and everything is correct, the actually expressed elements will be the same. So always only one type can be created.
Using the
materialUi.switch
at the same time thereact.router.dom.switch
is used leads to an issue where only one type of switch is expressed.How to Reproduce
Try using the routing switch and the material UI switch in the same project. Although the imports and everything is correct, the actually expressed elements will be the same. So always only one type can be created.