diff --git a/pages/index.tsx b/pages/index.tsx index 5518a51..ba0a912 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -38,14 +38,7 @@ export default function Home() {

Preview

- { - userId.length < 17 - ? -

Please provide a valid user ID!

- : - Discord Presence Preview - } - + [Please provide a valid user ID!]
diff --git a/src/renderCard.tsx b/src/renderCard.tsx index e9ba6b9..8a564b6 100644 --- a/src/renderCard.tsx +++ b/src/renderCard.tsx @@ -295,7 +295,7 @@ const renderCard = async (body: LanyardTypes.Root, params: Parameters): Promise< white-space: nowrap; text-overflow: ellipsis; color: ${theme === 'dark' ? '#ccc' : '#777'}; - ">By ${body.data.spotify.artist.replace(/\;/g, ",")}

+ ">By ${body.data.spotify.artist.replace(/\;/g, ",").replace(/\&/g, "and")}

`