themeselection / materio-mui-nextjs-admin-template-free

An enterprise-grade Next.js admin dashboard template. Made with developer experience first: Next.js v14 (App Router), Material UI (MUI), Tailwind CSS, TypeScript, ESLint, Prettier, VSCode Configs !! 🚀
https://themeselection.com/item/materio-free-mui-nextjs-admin-template
MIT License
1.63k stars 562 forks source link

React does not recognize the `containerRef` #6

Closed megaacheyounes closed 1 year ago

megaacheyounes commented 1 year ago

Steps to reproduce

  1. clone repo
  2. run yarn dev
  3. open developer console, you can see warning:
    Warning: React does not recognize the `containerRef` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute,spell it as lowercase `containerref` instead. If you accidentally passed it from a parent component, remove it from the DOM element.

What is expected?

no warning message

What is actually happening?

containerRef prop exists in PerfectScrollbar but not Box

Additional data

NodeJS Version: 16.1 Package manager: yarn 1.22.5 Browser name & version: brave 1.49 System: windows

neelbrahmakshatriya commented 1 year ago

Hi @megaacheyounes,

Thanks for reporting this issue and creating a pull request for the same.

We will review your pull request and merge it in the next week if all the changes are correct.

neelbrahmakshatriya commented 1 year ago

Hi @megaacheyounes,

Thanks for your great contribution. We have merged your pull request.

Closing this issue.