mirror of
https://github.com/pupperpowell/bibdle.git
synced 2026-10-22 13:54:10 -04:00
fix: remove trailing comma in share text when there is no streak
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
a188be167b
commit
1ae2b2ac6c
1 file changed
+1
-1
@@ -78,7 +78,7 @@ export function generateShareText(params: {
|
||||
|
||||
const lines = [
|
||||
`${bookEmoji} Bibdle | ${formattedDate} ${bookEmoji}`,
|
||||
`${guesses.length} ${guessWord},${streakPart}`,
|
||||
`${guesses.length} ${guessWord}${streakPart ? `,${streakPart}` : ""}`,
|
||||
`${emojis}${chapterStar}`
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user