mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-10 08:55:37 +08:00
fixed logic
This commit is contained in:
parent
5183963dc4
commit
a2827dd7f1
1 changed files with 2 additions and 3 deletions
|
@ -44,9 +44,8 @@ const debouncedZipfCheck = debounce(250, () => {
|
|||
|
||||
ConfigEvent.subscribe((eventKey, eventValue) => {
|
||||
if (
|
||||
eventKey === "language" ||
|
||||
(eventKey === "funbox" &&
|
||||
(eventValue as string).split("#").includes("zipf"))
|
||||
(eventKey === "language" || eventKey === "funbox") &&
|
||||
(eventValue as string).split("#").includes("zipf")
|
||||
) {
|
||||
debouncedZipfCheck();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue