Login page in react applciation using okta signin widget load twice


When we render login screen, the login screen loads completely and again it re-renders. we are using below version of okta.

@okta/okta-auth-js”: “^6.5.0”,
@okta/okta-react”: “^6.4.3”
@okta/okta-signin-widget”: “^6.3.1”,

We took the sign-in widget code from the sample application.

I don’t see this behavior when running the Okta custom login sample appliation.

If you download and run this app do you still see the double loading?