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

Warning: Invalid DOM property class. Did you mean className #92

Open
slaymantis opened this issue Mar 4, 2021 · 1 comment
Open

Warning: Invalid DOM property class. Did you mean className #92

slaymantis opened this issue Mar 4, 2021 · 1 comment

Comments

@slaymantis
Copy link

If you look at the console for this example
https://codesandbox.io/s/ezw97

you will see it throws a warning

index.js:27 Warning: Invalid DOM property class. Did you mean className?
in div (at src/index.js:11)
in div
in ReactOwlCarousel (at src/index.js:10)
in App (at src/index.js:30)

@pronoia9
Copy link

changing the div class='' to className='' should fix that

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

2 participants