Commit d79da131 authored by Guillermo Sanz López's avatar Guillermo Sanz López
Browse files

add comment

parent b36ad425
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 () => {