fix: styling updates

This commit is contained in:
Mythie
2023-09-26 15:56:11 +10:00
parent 34ce0d084e
commit fcf586f24d
2 changed files with 91 additions and 35 deletions

View File

@ -1,5 +1,5 @@
export const generateTwitterIntent = (text: string, shareUrl: string) => {
return `https://twitter.com/intent/tweet?text=${encodeURIComponent(text)}%0A${encodeURIComponent(
shareUrl,
)}`;
return `https://twitter.com/intent/tweet?text=${encodeURIComponent(
text,
)}%0A%0A${encodeURIComponent(shareUrl)}`;
};