Ambil data di JS berikutnya
export const getStaticProps = async () => {
const res = await fetch("https://jsonplaceholder.typicode.com/users");
const data = await res.json();
return {
props: {
people: data,
},
};
};
Omatsola Eyeoyibo