I use react-admin and for the API I use useQuery and I have this warning in all my pages:
Warning: React does not recognize the
basePathprop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercasebasepathinstead. If you accidentally passed it from a parent component, remove it from the DOM element.
in div (created by ForwardRef(Grid))
in ForwardRef(Grid) (created by WithStyles(ForwardRef(Grid)))
How can I fix it?