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

Invalid DOM property class. #60

Open
ishak52 opened this issue Sep 11, 2019 · 0 comments
Open

Invalid DOM property class. #60

ishak52 opened this issue Sep 11, 2019 · 0 comments
Assignees
Labels
bug Something isn't working done priority 1

Comments

@ishak52
Copy link
Contributor

ishak52 commented Sep 11, 2019

In React js you should use className instead of class
in emarket/client/src/components/Search_bar/index.js file

        <button onClick={this.getSearchedProduct} type="button">
          <i class= "fa fa-search"></i>
        </button>
      </div>

To solve it just change class to className

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working done priority 1
Projects
None yet
Development

No branches or pull requests

5 participants