Keycloak Reloading Twice:

I have trying to configure authentication via client Side, I am using client as ReactJs. I have configure KeyCloak authenication via KeycloakProvider. If trying to refresh the screen the screen the was render twice.For the first time they didn’t user information,second time only getting data.
My keycloak initiconfiguration was:

keycloakProviderInitConfig = {
onLoad: ‘check-sso’,checkLoginIframe: false,checkLoginIframeInterval: 10,
Please any one help me to resolve the issue.