sreerajmelath
05/09/2023, 11:12 AMrp_st
05/09/2023, 11:23 AMrp_st
05/09/2023, 11:25 AMsreerajmelath
05/09/2023, 11:26 AMrp_st
05/09/2023, 11:27 AMsreerajmelath
05/09/2023, 11:28 AMsreerajmelath
05/09/2023, 11:29 AMsreerajmelath
05/09/2023, 11:29 AMrp_st
05/09/2023, 11:32 AMsreerajmelath
05/09/2023, 11:33 AMrp_st
05/09/2023, 11:34 AMporcellus
05/09/2023, 12:15 PMsreerajmelath
05/09/2023, 12:19 PMsreerajmelath
05/09/2023, 12:21 PMsreerajmelath
05/09/2023, 12:21 PMsreerajmelath
05/09/2023, 12:22 PMporcellus
05/09/2023, 12:26 PMporcellus
05/09/2023, 12:27 PMporcellus
05/09/2023, 12:37 PMjin_riverway
05/09/2023, 3:27 PMjin_riverway
05/09/2023, 3:37 PMporcellus
05/09/2023, 3:46 PMporcellus
05/09/2023, 8:33 PMEmailVerification
to one of them. I'd recommend removing of those.
- Adding the prebuilt UI within a useEffect
with an empty dependency array (how it's done in your code) only works in a component that gets remounted when the path changes (since the dependency array is empty). The tutorial recommends you to do this in auth/[[...path]]
where this is true, but it doesn't work in _app
.
Seeing those two issues I'd remove the prebuilt UI from _app
. The alternative is remove auth/[[...path]]
and adding appProps.router.asPath
to the dependency array of the useEffect
where you add the routing component.jin_riverway
05/10/2023, 5:27 AMrp_st
05/10/2023, 5:32 AM