add fetchForm

This commit is contained in:
Hope87
2021-07-06 10:53:50 +03:00
parent e8b7fbb2f3
commit a5820e0edb
7 changed files with 61 additions and 136 deletions

View File

@ -15,7 +15,7 @@ const TagSelect = () => {
const handleSubmit = () => {
const filterItemsId = itemsArr.map((item) => item.id).join();
fetchItemsForId('https://guild.craft-group.xyz/api/profile?skills=', filterItemsId).then((el) =>
fetchItemsForId(`https://guild.craft-group.xyz/api/profile?skills=`, filterItemsId).then((el) =>
dispatch(filteredCandidates(el))
);