Next.js Discord

Discord Forum

Cant' debug why a component is **not** loading in my staging server

Unanswered
Asian black bear posted this in #help-forum
Open in Discord
Asian black bearOP
Hi, I cant' debug why a component is not loading in my staging server. It is loading according to condition in local dev server, ngrok

            {searchParams["enter_otp"] ? (
              <EnterOtp />
            ) : (
              <LoginPage
                defaultCountry={getCountryDetailQuery.data?.country_code}
              />
            )}

the EnterOtp component should be loaded when enter_otp is in searchparams.

0 Replies