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

JS errors on unchanged main branch #655

Open
Piogar opened this issue Dec 29, 2023 · 0 comments
Open

JS errors on unchanged main branch #655

Piogar opened this issue Dec 29, 2023 · 0 comments

Comments

@Piogar
Copy link

Piogar commented Dec 29, 2023

Hello. I cloned and run clean project (main branch) and faced following JS errors in console after logging:

  1. Failed prop type: The prop selectedTab is marked as required in NavBar, but its value is null.
  2. React does not recognize the buttonRef prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase buttonref instead. If you accidentally passed it from a parent component, remove it from the DOM element.
  3. React does not recognize the labelWidth prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase labelwidth instead. If you accidentally passed it from a parent component, remove it from the DOM element.

Per my understanding, first one is caused by undetermined order in which components are rendered and can be fixed by assigning dummy/empty value to selectedTab (so that NavBar does not mark anything unless some componen is rendered).

Second and third issues seems to be related to changes in mui. Is that correct? Should they just be removed?

Thanks in advance for any help.

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