mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
chore: run prettier
This commit is contained in:
1 parent
f0e961ac3d
commit
aff4d4175d
2 files changed
+2
-2
No files matched your search
@@ -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) => {
|
||||
|
||||
@@ -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.'
|
||||
|
||||
|
||||
Reference in new issue
Block a user