diff --git a/src/components/Person.js b/src/components/Person.js index a0b630e6..957aa6e9 100644 --- a/src/components/Person.js +++ b/src/components/Person.js @@ -19,7 +19,7 @@ export default function Person({ person }) { : null; const webfinger = person.mastodon - ? fetch(`https://${mastodonArr[0]}/.well-known/webfinger?resource=https://${mastodonArr[0]}/@${mastodonArr[1]}`).then(response => response.json()) + ? JSON.parse(`https://${mastodonArr[0]}/.well-known/webfinger?resource=https://${mastodonArr[0]}/@${mastodonArr[1]}`) : null; const wfIndex = person.mastodon && webfinger