diff --git a/src/features/ItemsList/index.tsx b/src/features/ItemsList/index.tsx index 237fbdc6..9621d64c 100644 --- a/src/features/ItemsList/index.tsx +++ b/src/features/ItemsList/index.tsx @@ -17,6 +17,7 @@ import { } from './styled' type SearchItemsListProps = { + close: () => void, list: Array<{ color: string, fallbackImage: string, @@ -29,7 +30,7 @@ type SearchItemsListProps = { }>, } -export const ItemsList = ({ list }: SearchItemsListProps) => { +export const ItemsList = ({ close, list }: SearchItemsListProps) => { const { onError, ref, @@ -48,12 +49,11 @@ export const ItemsList = ({ list }: SearchItemsListProps) => { teamOrCountry, }) => ( - + diff --git a/src/features/Modal/index.tsx b/src/features/Modal/index.tsx index db17913e..1fa99742 100644 --- a/src/features/Modal/index.tsx +++ b/src/features/Modal/index.tsx @@ -13,7 +13,7 @@ import { type TModalProps = { children: ReactNode, - close: ()=> void, + close: () => void, isOpen: boolean, } diff --git a/src/features/Search/index.tsx b/src/features/Search/index.tsx index 8aa6f699..7399bb73 100644 --- a/src/features/Search/index.tsx +++ b/src/features/Search/index.tsx @@ -45,21 +45,21 @@ export const Search = () => { {!isEmpty(tournaments) && (
- + )} {!isEmpty(teams) && (
- + )} {!isEmpty(players) && (
- + )}