Browse Source

update SearchResultList

Yuki Takei 4 years ago
parent
commit
dde9c9bd38
1 changed files with 1 additions and 3 deletions
  1. 1 3
      packages/app/src/components/SearchPage/SearchResultList.tsx

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

@@ -23,8 +23,6 @@ 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) => {
@@ -37,7 +35,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">
-          <PagenationWrapperAny
+          <PaginationWrapper
             activePage={props.activePage || 1}
             activePage={props.activePage || 1}
             changePage={props.onPagingNumberChanged}
             changePage={props.onPagingNumberChanged}
             totalItemsCount={props.searchResultCount || 0}
             totalItemsCount={props.searchResultCount || 0}