Closed bhavdeep-saragadam closed 2 years ago
I believe you've entered 'pathname' where you should have entered the pathname of the directory you need to refer to.
Well I was facing same issue and solve it.
Though I am using
react-router-dom@6
So I had to modify app.js
and index.js
like below
Index.js
and app.js
Hope this will work for anyone if they are using react-router-dom@6
It shows a blank screen