fixed a bug where words added live during the test didnt follow the punctuation rules

This commit is contained in:
Miodec 2023-05-08 13:41:45 +02:00
parent 09bb4c051c
commit 200803a72c

View file

@ -661,8 +661,8 @@ export async function addWord(): Promise<void> {
TestWords.words.length,
language,
bound,
TestWords.words.get(TestWords.words.length - 1, true),
TestWords.words.get(TestWords.words.length - 2, true)
TestWords.words.get(TestWords.words.length - 1),
TestWords.words.get(TestWords.words.length - 2)
);
const split = randomWord.split(" ");