diff --git a/frontend/src/components/SedersPage.js b/frontend/src/components/SedersPage.js index d0da80c7..a9a5a779 100644 --- a/frontend/src/components/SedersPage.js +++ b/frontend/src/components/SedersPage.js @@ -71,10 +71,10 @@ function SedersPage({ `./participant-link-data?email=${encodeURIComponent(user.email)}`, Configs.apiUrl() ); - fetch(participantLinkDataUrl, { credentials: "include" }); - then((r) => { - return r.json(); - }) + fetch(participantLinkDataUrl, { credentials: "include" }) + .then((r) => { + return r.json(); + }) .then((ld) => { if (Array.isArray(ld)) { setParticipantLinkData(ld);