fixed code

This commit is contained in:
Hope87
2021-07-02 16:02:47 +03:00
parent edd01168a5
commit c44c1fe27c
28 changed files with 356 additions and 357 deletions

View File

@ -1,5 +1,5 @@
export const fetchProfile = async (link, index = '') => {
const response = await fetch(`${link}/${index}`);
export const fetchProfile = async (link, index) => {
const response = await fetch(`${link}${index}`);
let data = await response.json();
return data;