PrathmeshSadake / unsplashy

An image gallery that fetches images from Unsplash API. It has some awesome features like searching for images and infinite scrolling in which images keeps on loading as the user scrolls.
https://unsplashy-prathmeshsadake.netlify.app
23 stars 16 forks source link

Route Validation #23

Closed roshanchatei closed 2 years ago

roshanchatei commented 2 years ago

Added route validation This PR fixes issue #16, so now If a user logs out then goes to '/home' it will redirect to '/' and if a user is logged in and goes to '/' or '/signup' it will redirect to '/home'.

Look: https://drive.google.com/file/d/1s3lKUKY5ugA45XfimdWubQEWicRrBjZp/view?usp=sharing

netlify[bot] commented 2 years ago

Deploy request for unsplashy-prathmeshsadake pending review.

Visit the deploys page to approve it

Name Link
Latest commit 090f02b36c71ee32683a044e76080becf137c9d2
roshanchatei commented 2 years ago

@nawed2611 can you please review it