fixed code
This commit is contained in:
1 parent
edd01168a5
commit
c44c1fe27c
28 files changed
+356
-357
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user