diff --git a/src/components/ui/Search.tsx b/src/components/ui/Search.tsx index 30de338..3082abc 100644 --- a/src/components/ui/Search.tsx +++ b/src/components/ui/Search.tsx @@ -14,7 +14,7 @@ import { useERC721Pool } from "src/hooks/ERC721_Pool"; import { useERC1155Pool } from "src/hooks/ERC1155_Pool"; import { FixedSizeList as List } from "react-window"; -import AutoSizer from "react-virtualized-auto-sizer"; +import AutoSizer, {Size} from "react-virtualized-auto-sizer"; import { Address } from "./Address"; import { config } from "../../config"; import {getAddressByName, OneCountryTLD} from "../../utils/oneCountry"; @@ -341,7 +341,7 @@ export const SearchInput = () => { - {({ height, width }) => ( + {({ height, width }: Size) => (