Welcome to Next.js!
Get started by editing{" "}
pages/index.js
import React from "react"; import Head from "next/head"; import { GetStaticProps } from "next"; import styles from "styles/Home.module.css"; export const getStaticProps: GetStaticProps = async () => { // TODO: Fetch links here return { props: { links: [] }, // will be passed to the page component as props // Next.js will attempt to re-generate the page: // - When a request comes in // - At most once every second revalidate: 1, }; }; const Home: React.FC = ({ links }: any) => { console.log({ links }); // TODO: Remove starter code return (
Get started by editing{" "}
pages/index.js