fix: share text (Wordle -> Not Wordle)

This commit is contained in:
eggplants 2022-01-24 13:02:37 +09:00
parent fd95f7a5d8
commit f0ffd07a58
No known key found for this signature in database
GPG key ID: E84F494AD6539CE2

View file

@ -3,12 +3,8 @@ import { solutionIndex } from './words'
export const shareStatus = (guesses: string[]) => {
navigator.clipboard.writeText(
'Wordle ' +
solutionIndex +
' ' +
guesses.length +
'/6\n\n' +
generateEmojiGrid(guesses)
`Not Wordle ${solutionIndex} ${guesses.length}/6\n\n` +
generateEmojiGrid(guesses)
)
}