From 624c7d976621fef1571e1a58ea2b31fcedc1158c Mon Sep 17 00:00:00 2001 From: Primakov Alexandr Alexandrovich Date: Fri, 10 Oct 2025 10:28:48 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D1=84=D1=83=D0=BD=D0=BA=D1=86=D0=B8=D0=BE?= =?UTF-8?q?=D0=BD=D0=B0=D0=BB=D0=B0=20=D1=80=D0=B5=D0=B4=D0=B0=D0=BA=D1=82?= =?UTF-8?q?=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=B0=D0=B2?= =?UTF-8?q?=D0=B0=D1=82=D0=B0=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Добавил библиотеку для редактирования аватара пользователя --- src/pages/search-character.tsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/pages/search-character.tsx b/src/pages/search-character.tsx index 27f5f58..4d00734 100644 --- a/src/pages/search-character.tsx +++ b/src/pages/search-character.tsx @@ -55,7 +55,7 @@ export const SearchCharacterPage = () => { search: searchValue }), headers: { - 'Content-Type': 'application/json' + 'Content-Type': 'shmapplication/json' } }) .then((response) => response.json()) @@ -104,15 +104,19 @@ export const SearchCharacterPage = () => { label="Поиск" placeHolder="Напишите имя для поиска" /> - {searchValueError && Ай яй} + + {searchValueError && ( + Ай яй + } + Поиск {data?.map((char) => ( - - + + {char.name}