Web page showing only blank Spaces

I am using ReactJS to create my front end and everything is working fine until i am not connecting my servlet app to wallet. As soon as i connect to the wallet the web pages display only blank spaces nothing else. This is a very weird behaviour and i am not able to understand what to do as i am new to React. I had trying loading a sample page as below


<html>

<body>

<div class="mainContainer">

<h1> Test Page </h1>

</div>

</body>

</html>