react-saas-template
react-saas-template copied to clipboard
JS errors on unchanged main branch
Hello. I cloned and run clean project (main branch) and faced following JS errors in console after logging:
- Failed prop type: The prop
selectedTabis marked as required inNavBar, but its value isnull. - React does not recognize the
buttonRefprop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercasebuttonrefinstead. If you accidentally passed it from a parent component, remove it from the DOM element. - React does not recognize the
labelWidthprop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercaselabelwidthinstead. 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.