diff --git a/README.md b/README.md index 35dabc7..b322d22 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,8 @@ ## Getting Started -First, install dependencies (`npm run build`) run the development server: +First, install dependencies (`npm install`) run the development server: ```bash - npm run dev # or yarn dev @@ -13,16 +12,6 @@ pnpm dev Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. -You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file. - -This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. - -## Deploy on Vercel - -The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. - -Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. - ## Project An interface to create quizzes for the Avanti Fellows Quiz Engine, and remove the dependence on Google Sheets completely. diff --git a/src/components/displayTable/DataDisplay.tsx b/src/components/displayTable/DataDisplay.tsx index 33d7fe0..2f88879 100644 --- a/src/components/displayTable/DataDisplay.tsx +++ b/src/components/displayTable/DataDisplay.tsx @@ -5,6 +5,7 @@ import { getData } from "@/utils/FormInputHandling"; import ReactPaginate from "react-paginate"; import { instance } from "@/utils/RootClient"; + type DataDisplayProps = { getData: () => Promise; }; diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 2618d4d..350baf4 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,6 +1,5 @@ import DataDisplay from "@/components/displayTable/DataDisplay"; import { getData } from "@/utils/FormInputHandling"; - import Head from "next/head"; import { useRouter } from "next/router";