Browse Source

80875 refactor

SULLEY\ryo-h 4 years ago
parent
commit
8c122cd81c
1 changed files with 3 additions and 1 deletions
  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) => {
 const SearchResultList: FC<Props> = (props:Props) => {
+  // eslint-disable-next-line @typescript-eslint/no-explicit-any
+  const PagenationWrapperAny: any = PaginationWrapper;
   return (
   return (
     <>
     <>
       {props.pages.map((page) => {
       {props.pages.map((page) => {
@@ -36,7 +38,7 @@ const SearchResultList: FC<Props> = (props:Props) => {
       })}
       })}
       {props.searchResultCount != null && props.searchResultCount > 0 && (
       {props.searchResultCount != null && props.searchResultCount > 0 && (
         <div className="my-4 mx-auto">
         <div className="my-4 mx-auto">
-          <PaginationWrapper
+          <PagenationWrapperAny
             activePage={props.activePage}
             activePage={props.activePage}
             changePage={props.onPagingNumberChanged}
             changePage={props.onPagingNumberChanged}
             totalItemsCount={props.searchResultCount || 0}
             totalItemsCount={props.searchResultCount || 0}