add fetch inquiry
This commit is contained in:
1 parent
b0ca345dbb
commit
8e607ee21f
4 files changed
+84
-53
No files matched your search
@@ -0,0 +1,6 @@
|
||||
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