From 988a0142a39b6adc794c19202caf0909c2de8292 Mon Sep 17 00:00:00 2001 From: Armen <35077035+Armen9393@users.noreply.github.com> Date: Mon, 7 Sep 2020 10:09:33 +0300 Subject: [PATCH] Ott 335 img alt name (#126) * fix(ott-394): deleted search box target blank * fix(ott-335): deleted search alt name * fix(ott-335): minor bug fix --- src/features/ItemsList/index.tsx | 6 +++--- src/features/Modal/index.tsx | 2 +- src/features/Search/index.tsx | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) 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) && (
- + )}