Proffy | Frontend Framework library
kandi X-RAY | Proffy Summary
kandi X-RAY | Proffy Summary
Proffy
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Proffy
Proffy Key Features
Proffy Examples and Code Snippets
Community Discussions
Trending Discussions on Proffy
QUESTION
I built a React Component Layout for SplitScreen pages (the bottom layout design on the screen shot).
The problem is that the LoginPage layout (the top layout design on the screen shot) I won't need the backArrowIcon at to top, as you can better see on the second screen shot.
I also would have to change the Left<->Right split display on the screen on the LoginPage container.
Anyone has a clue of what can I do to solve my two problems?
Here's also my SplitScreen Component code:
...ANSWER
Answered 2020-Aug-21 at 03:35You can use the location pathname and check if on your login route.
If not on your login route then conditionally render the back button.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Proffy
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page