We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8322cbb commit f79d11fCopy full SHA for f79d11f
web/app/(commonLayout)/datasets/Datasets.tsx
@@ -1,6 +1,6 @@
1
'use client'
2
3
-import { useEffect, useRef, useCallback } from 'react'
+import { useCallback, useEffect, useRef } from 'react'
4
import useSWRInfinite from 'swr/infinite'
5
import { debounce } from 'lodash-es'
6
import { useTranslation } from 'react-i18next'
@@ -22,7 +22,7 @@ const getKey = (
22
url: 'datasets',
23
params: {
24
page: pageIndex + 1,
25
- limit: 30,
+ limit: 5,
26
include_all: includeAll,
27
},
28
}
@@ -73,7 +73,7 @@ const Datasets = ({
73
setSize(size => size + 1)
74
75
}, 50),
76
- [setSize]
+ [setSize],
77
)
78
79
useEffect(() => {
0 commit comments