diff --git a/apps/temp-docs/components/pagination.tsx b/apps/temp-docs/components/pagination.tsx index 61cb5db6a87..3defb5c1ea7 100644 --- a/apps/temp-docs/components/pagination.tsx +++ b/apps/temp-docs/components/pagination.tsx @@ -1,7 +1,7 @@ import Link from 'next/link' import { IconArrowLeft, IconArrowRight } from '@supabase/ui' -const pagination = ({ currentPage, totalCount }: { currentPage: number, totalCount: number }) => { +const pagination = ({ currentPage, totalCount }: { currentPage: number; totalCount: number }) => { // TODO: not sure if this is the most efficient way to do this. may need to refactor. const totalArray = Array.from({ length: totalCount }, (_, i: number) => i + 1) const pages = totalArray.filter((page: number) => { diff --git a/apps/temp-docs/pages/discussions/index.tsx b/apps/temp-docs/pages/discussions/index.tsx index 7f41182dce0..fd3e8115b28 100644 --- a/apps/temp-docs/pages/discussions/index.tsx +++ b/apps/temp-docs/pages/discussions/index.tsx @@ -106,7 +106,7 @@ export async function getServerSideProps(context: { query: { page: number } }) { } } -const discussions = ({ data, page }: {data: any, page: number}) => { +const discussions = ({ data, page }: { data: any; page: number }) => { const meta_title = 'Discussions' const meta_description = 'Discuss Supabase with other developers and users.'