Fix syntax errors - class

Easy
10
81.6% Acceptance

You have been provided with a class component called App. The component keeps track of a count value stored in its state and displays it to the user. The user should be able to increment the count by clicking on a button, however, the code contains some bugs that need to be fixed.
Once the bugs have been fixed, the component should display the correct count value and log a message to the console only when the count value changes.
image

Instructions

  • Do not edit the data-testid attributes.