Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev Story: Refactor route to pull code /:code after linkedin redirect #93

Open
stephaniemagdic opened this issue Nov 28, 2021 · 0 comments
Assignees

Comments

@stephaniemagdic
Copy link
Collaborator

stephaniemagdic commented Nov 28, 2021

Refactor opportunity to clean up logic in app to conditionally render either the login component or app based on route!

Remember to consider though that unlike the researched url/routing... the url will change and go back to home page so this will be like an either or route.

If the route is at / or /:code ... render the landing page

<Route
          exact
          path="/:code"
          render={({ match }) => {
            return (

Using salary site github as reference

@stephaniemagdic stephaniemagdic self-assigned this Nov 28, 2021
@stephaniemagdic stephaniemagdic changed the title Refactor route to pull code /:code Dev Story: Refactor route to pull code /:code after linkedin redirect Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant