Explorar el Código

80875 refactor

SULLEY\ryo-h hace 4 años
padre
commit
8c122cd81c
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      packages/app/src/components/SearchPage/SearchResultList.tsx

+ 3 - 1
packages/app/src/components/SearchPage/SearchResultList.tsx

@@ -24,6 +24,8 @@ type Props = {
 }
 
 const SearchResultList: FC<Props> = (props:Props) => {
+  // eslint-disable-next-line @typescript-eslint/no-explicit-any
+  const PagenationWrapperAny: any = PaginationWrapper;
   return (
     <>
       {props.pages.map((page) => {
@@ -36,7 +38,7 @@ const SearchResultList: FC<Props> = (props:Props) => {
       })}
       {props.searchResultCount != null && props.searchResultCount > 0 && (
         <div className="my-4 mx-auto">
-          <PaginationWrapper
+          <PagenationWrapperAny
             activePage={props.activePage}
             changePage={props.onPagingNumberChanged}
             totalItemsCount={props.searchResultCount || 0}