Update the react and react-dom versions from 17.0.1 to ==> 17.0.2 could resolve this problem.
You just need to run npm update in the command prompt or bash, and hopefully you will see the changes in your package.json file. (yarn upgrade react --latest and yarn upgrade react-dom --latest if you want the upgrade to persist to the package.json)
Here is a git report from my app after applying the update:
