Commit dc270946 by jay

.

1 parent c8b9bb18
...@@ -17,16 +17,3 @@ const DoctorOnCall = () => { ...@@ -17,16 +17,3 @@ const DoctorOnCall = () => {
}; };
export default DoctorOnCall; export default DoctorOnCall;
// This function gets called at build time
export async function getStaticProps() {
// Call an external API endpoint to get posts
// const res = await fetch('https://.../posts')
// const posts = await res.json()
// By returning { props: { posts } }, the Blog component
// will receive `posts` as a prop at build time
return {
props: {},
};
}
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!