From b0baec6d0fdcb9c5037fa261e10686bee03c76ba Mon Sep 17 00:00:00 2001 From: Andrei Dekterev Date: Thu, 6 Oct 2022 17:45:15 +0600 Subject: [PATCH] fix(tooltip): fix undefined team for tooltip --- src/features/UserFavorites/TooltipBlock/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/features/UserFavorites/TooltipBlock/index.tsx b/src/features/UserFavorites/TooltipBlock/index.tsx index 57a6ccdd..c9986471 100644 --- a/src/features/UserFavorites/TooltipBlock/index.tsx +++ b/src/features/UserFavorites/TooltipBlock/index.tsx @@ -31,8 +31,8 @@ export const TooltipBlock = ({ - {info.team && }{' '} - {info.country && } + {info?.team && }{' '} + {info?.country && } )