Loading capif_frontend/src/context/AuthContext.js +2 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,8 @@ const AuthProvider = ({ children }) => { // useRouter() -> hook de next que nos permite acceder a la ruta actual const router = useRouter() console.log('URL de env: ', process.env.NEXT_PUBLIC_API_URL) // useEffect -> hook de react que se ejecuta cuando el componente se monta, 1 VEZ useEffect(() => { const initAuth = async () => { Loading Loading
capif_frontend/src/context/AuthContext.js +2 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,8 @@ const AuthProvider = ({ children }) => { // useRouter() -> hook de next que nos permite acceder a la ruta actual const router = useRouter() console.log('URL de env: ', process.env.NEXT_PUBLIC_API_URL) // useEffect -> hook de react que se ejecuta cuando el componente se monta, 1 VEZ useEffect(() => { const initAuth = async () => { Loading