Skip to content

Commit 0e8cf3e

Browse files
authored
fix(words-filter): typo in invalid regex error (@Leonabcd123) (monkeytypegame#8241)
1 parent ba7783c commit 0e8cf3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/ts/components/modals/WordFilterModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function filterWordList(
138138
reglit = new RegExp(pattern, flags);
139139
} catch (error) {
140140
if (error instanceof SyntaxError) {
141-
return { error: "Invaid Regex Expression" };
141+
return { error: "Invalid Regex Expression" };
142142
}
143143
return { error: String(error) };
144144
}

0 commit comments

Comments
 (0)