diff --git a/web/pages/newbies.tsx b/web/pages/newbies.tsx deleted file mode 100644 index eb947f2188..0000000000 --- a/web/pages/newbies.tsx +++ /dev/null @@ -1,31 +0,0 @@ -import { Contract } from 'common/contract' -import { ContractsTable } from 'web/components/contract/contracts-table' -import { Page } from 'web/components/layout/page' -import { Title } from 'web/components/widgets/title' -import { db } from 'web/lib/supabase/db' - -export const getStaticProps = async () => { - try { - const { data } = await db.rpc('get_noob_questions') - const limit = 300 - return { - props: { contracts: (data ?? []).slice(0, limit) }, - revalidate: 60 * 60, - } - } catch (err) { - console.error(err) - return { props: { contracts: [] }, revalidate: 60 } - } -} - -export default function Newbies(props: { contracts: Contract[] }) { - const { contracts } = props - - return ( - - Questions by new users -

plz be nice!

- -
- ) -}