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

[Bug] Example in documentation for NavBarLinks causes a react-router error #5

Open
paulochoi opened this issue Aug 19, 2021 · 0 comments

Comments

@paulochoi
Copy link

Version

1.0.1

Reproduction link

https://github.com/paulochoi/notus-pro-bug

Operating System

Microsoft Windows

Device

PC

Browser & Version

Latest Google Chrome and MS Edge

Steps to reproduce

Copy and paste NavbarLInksLanding2 from https://demos.creative-tim.com/notus-pro-react/?_ga=2.22529723.1448880554.1629379309-282331650.1626875920#/documentation/components/presentation/components/navbars

Open the component.

What is expected?

Component to render

What is actually happening?

Error saying that You should not use outside a


Solution

Wrap the NavBarComponent with a Router.

Additional comments

Please fix the documentation.

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