-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Updated with changes from original code base, fully migrated to react-router-dom-v5-compat #358
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, I will test it :)
@@ -19,7 +20,8 @@ export const CommandersList = () => { | |||
}>(); | |||
|
|||
useEffect(() => { | |||
document.title = `${commanderBase} - ${capitalize(race)}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any reason for this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, you can fix this by passing there empty string like this ${capitalize(race || "")}
Hi @auan369 it looks like there is some issue, it doesn't load for me |
Tr
Trying it out on my side again and I have the same issue now as well. Seems like issue with Link in main-header.tsx and main-footer.tsx still persists. Changing the import to |
Hi @petrvecera , I have discovered the issue with the Links. The update is to shift the CompatRouter component the above MainHeader and MainFooter components. Then we can use react-router-dom-v5-compat for all files. |
Nice, can you push this change? 👍 |
Just sent the PR 👍 |
closing this in favor of #359 FYI: you can always just update the original branch, no need to create a new one, you can also always do git push --force to force the change in the commits |
Have included the most recent commits to the original code base and have migrated fully to react-router-dom-v5-compat