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: Button Component Not Navigating to Target Page #26

Closed
CMs-web opened this issue Jan 6, 2025 · 6 comments
Closed

Bug: Button Component Not Navigating to Target Page #26

CMs-web opened this issue Jan 6, 2025 · 6 comments

Comments

@CMs-web
Copy link
Contributor

CMs-web commented Jan 6, 2025

Describe the bug

The button component is not navigating to the intended component/page when clicked. The expected routing behavior fails to execute, and there are no error messages or logs indicating the cause of the issue.

Steps to reproduce

Render the button component within a parent component.
Attach an onClick handler to trigger navigation using the routing library (e.g., React Router's useNavigate or equivalent).
Ensure the parent component is part of the application’s routing structure.
Click the button.

Browsers

Chrome

Additional context (Is this in dev or production?)

No response

@Codehagen
Copy link
Owner

Is it this button you mean @CMs-web (See video)

Screenshot.2025-01-06.mp4

@CMs-web
Copy link
Contributor Author

CMs-web commented Jan 6, 2025

Uploading image.png…
Home page

@CMs-web
Copy link
Contributor Author

CMs-web commented Jan 6, 2025

image
Landing page

@Codehagen
Copy link
Owner

Ahh, got it!

@Codehagen
Copy link
Owner

Todo:
Fix a href to /docs when a person click the badge.

@Codehagen
Copy link
Owner

Closed with #28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants