mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-21 15:56:24 +08:00
fixed code quotes not working
This commit is contained in:
parent
a10b3a83dd
commit
cf3cb5e4c2
|
@ -895,7 +895,7 @@ export async function init(): Promise<void> {
|
|||
|
||||
if (Config.mode === "quote") {
|
||||
const group = await Misc.findCurrentGroup(Config.language);
|
||||
if (group && group.name !== Config.language) {
|
||||
if (group && group.name !== "code" && group.name !== Config.language) {
|
||||
UpdateConfig.setLanguage(group.name);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue