chore: run prettier

This commit is contained in:
Isaiah Hamilton committed 2022-06-24 23:49:35 -04:00
1 parent f0e961ac3d
commit aff4d4175d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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) => {
+1 -1
View File
@@ -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.'