Open tomduggan85 opened 6 years ago
This is the why I had to do it, I know for sure that this(if ROUTE) is not the best practice to choose whether the navbar to be displayed in a specific route or not. but, there is no proper login validation for cookies or tokens in our app. You are free to share IDEAS :smile: when/if you can :+1:
Thanks Tom!
I think here, you could just include the navbar component itself (i.e. instead of wrapping it in a Route component.
https://github.com/gazaskygeeks/mpcc-assistant/blob/6c0d9f5c76bfbdaaca06b7ae96da798f17b20cd3/src/client/components/App.js#L23