Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consumir API para listagem de instituições #6

Open
2 tasks done
jfbaraky opened this issue Aug 10, 2022 · 0 comments
Open
2 tasks done

Consumir API para listagem de instituições #6

jfbaraky opened this issue Aug 10, 2022 · 0 comments
Assignees

Comments

@jfbaraky
Copy link
Member

jfbaraky commented Aug 10, 2022

Em vez da lista hardcoded, precisamos que esses dados venham da API.

  • Faça a request para a API utilizando o getStaticProps;
  • Adicione o revalidate para que a chamada seja refeita depois de um tempo;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants