From 9e37109762e1a540930272c73b47b360242b63bc Mon Sep 17 00:00:00 2001 From: Maxim Velesyuk Date: Thu, 3 Oct 2024 22:20:20 +0200 Subject: [PATCH] Add player names --- src/pages/players/components/PlayerSection.tsx | 2 +- src/utils/mocks.ts | 8 ++++++++ src/utils/types.ts | 2 ++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/pages/players/components/PlayerSection.tsx b/src/pages/players/components/PlayerSection.tsx index 592d8440..006b4e55 100644 --- a/src/pages/players/components/PlayerSection.tsx +++ b/src/pages/players/components/PlayerSection.tsx @@ -12,7 +12,7 @@ export default function PlayerSection({ player }: Props) { - Имя {player.name} + {player.first_name || ''} {player.name}