Merge pull request #278 from ArtemKolodko/fix_types

Fix types
pull/279/head
Artem 1 year ago committed by GitHub
commit c1a764e5e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/components/ui/Search.tsx

@ -14,7 +14,7 @@ import { useERC721Pool } from "src/hooks/ERC721_Pool";
import { useERC1155Pool } from "src/hooks/ERC1155_Pool"; import { useERC1155Pool } from "src/hooks/ERC1155_Pool";
import { FixedSizeList as List } from "react-window"; 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 { Address } from "./Address";
import { config } from "../../config"; import { config } from "../../config";
import {getAddressByName, OneCountryTLD} from "../../utils/oneCountry"; import {getAddressByName, OneCountryTLD} from "../../utils/oneCountry";
@ -341,7 +341,7 @@ export const SearchInput = () => {
</Text> </Text>
</Box> </Box>
<AutoSizer> <AutoSizer>
{({ height, width }) => ( {({ height, width }: Size) => (
<List <List
className="List" className="List"
height={height as number} height={height as number}

Loading…
Cancel
Save