fixed code

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

No files matched your search

+2 -2
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;