diff --git a/src/Components/Public/ProfileList.js b/src/Components/Public/ProfileList.js index 7ea2d220..3a392d8b 100644 --- a/src/Components/Public/ProfileList.js +++ b/src/Components/Public/ProfileList.js @@ -39,7 +39,7 @@ export default function Memberlist() { if (res.status === 403) { throw new Error('Access denied!'); } - res.json() + return res.json() } ).then (data => { setMembers(data)