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}