GDSC-UPES / GDSC-UPES-Website

MIT License
16 stars 26 forks source link

Corrected the Routing path given in App.jsx #28

Closed AshiqNoor-S closed 1 year ago

AshiqNoor-S commented 1 year ago

@akshit-g @rohin079 The way the routing path was given did not render any of the elements properly, made the correction so that elements are now properly render based on its route. In this corrected version, I am using the component's element prop to specify the component to render for each route. The element prop is used in React Router v6 to specify the component for a route, replacing the component prop used in v5.

netlify[bot] commented 1 year ago

Deploy Preview for upes-gdsc ready!

Name Link
Latest commit d2fe431d36f84718d6ca4c64ebd3f8c84bbb8cb4
Latest deploy log https://app.netlify.com/sites/upes-gdsc/deploys/651fe89195d548000963bb29
Deploy Preview https://deploy-preview-28--upes-gdsc.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

rohin079 commented 1 year ago

@AshiqNoor-S Thanks for changing the route path, kindly make a PR for Development branch not main

AshiqNoor-S commented 1 year ago

okay

AshiqNoor-S commented 1 year ago

@rohin079 Done