fix: tags manage (#2556)

* fix: tags manage

* fix infinite invoke
This commit is contained in:
heheer
2024-08-29 12:04:45 +08:00
committed by GitHub
parent 6c16fa9166
commit 0632dfed80
3 changed files with 74 additions and 45 deletions

View File

@@ -14,6 +14,17 @@ import {
import MyBox from '../components/common/MyBox';
import { useTranslation } from 'next-i18next';
export type ScrollListType = ({
children,
EmptyChildren,
isLoading,
...props
}: {
children: React.ReactNode;
EmptyChildren?: React.ReactNode;
isLoading?: boolean;
} & BoxProps) => React.JSX.Element;
export function useScrollPagination<
TParams extends PaginationProps,
TData extends PaginationResponse