File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class MyDocument extends Document {
5656 > </ script >
5757 < script src = "https://unpkg.com/phosphor-icons" defer > </ script >
5858 </ Head >
59- < body className = "bg-gray-50" >
59+ < body className = "bg-gray-50 overflow-x-hidden " >
6060 < Main />
6161 < NextScript />
6262 </ body >
Original file line number Diff line number Diff line change @@ -21,9 +21,12 @@ const FaunaCreateHandler: NextApiHandler = async (
2121
2222 try {
2323 const response : any = await client . query (
24- q . Map ( q . Paginate ( q . Documents ( q . Collection ( 'users' ) ) ) , ( userRef ) => {
25- return getUserFromUserRef ( { ref : userRef , session } )
26- } )
24+ q . Map (
25+ q . Paginate ( q . Documents ( q . Collection ( 'users' ) ) , { size : 100 } ) ,
26+ ( userRef ) => {
27+ return getUserFromUserRef ( { ref : userRef , session } )
28+ }
29+ )
2730 )
2831 const users : User [ ] = response . data
2932
You can’t perform that action at this time.
0 commit comments