I want to set different component on a same React route based on user roles.
Here\'s what I did.
// AppRouter.js const AppRouter = () => { const {l