fix: styling updates

This commit is contained in:
Mythie
2023-09-26 15:56:11 +10:00
parent 78498793fa
commit e4b6d42672
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)}`;
};