Hi! I am building an nested menu. And I am facing this error, is this related with the library or just newbie mistake?
This is the warning:
Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
Check the render method of @mantine/core/Box.
at SubCategory (webpack-internal:///./components/Structure/Menu/Menu.tsx:18:26)
at eval (webpack-internal:///./node_modules/@mantine/core/esm/Box/Box.js:45:18)
at eval (webpack-internal:///./node_modules/@mantine/core/esm/Menu/MenuItem/MenuItem.js:55:87)
at div
....