diff --git a/src/components/Person.js b/src/components/Person.js index 8ab35af7..76246bb9 100644 --- a/src/components/Person.js +++ b/src/components/Person.js @@ -18,10 +18,9 @@ export default function Person({ person, currentTag }) { {person.name} {person.emoji} - {`${url.host}${url.pathname}`} + {`${ + url.host + }${url.pathname.slice(0, url.pathname.lastIndexOf('/'))}`}
{person.description}