Skip to content

Conversation

@SuaYoo
Copy link
Member

@SuaYoo SuaYoo commented Mar 8, 2021

Fix "Start Over" link in prod site (https://bestprogrammingclub.github.io/rabbithole) taking you to a 404 page.

When using a plain a tag, we don't take React Router's integration with React to our advantage. By using the Link component provided by React Router, we're able to link to the index route (/) relative to our application, not relative to the website.

Manual testing locally:

  1. Run the application with npm start and wait for page load
  2. Click START OVER link at top. Page should reload and URL should update as expected

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

Successfully merging this pull request may close these issues.

2 participants