mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-04 02:34:43 +08:00
fix: incorrect import
!nuf
This commit is contained in:
parent
4f1ead4237
commit
37c1efd177
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
import * as Loader from "../elements/loader";
|
||||
import * as Misc from "../utils/misc";
|
||||
import * as Strings from "../utils/strings";
|
||||
import * as JSONData from "../utils/json-data";
|
||||
import { Section } from "../utils/misc";
|
||||
|
||||
|
@ -301,7 +302,7 @@ export async function getSection(language: string): Promise<Section> {
|
|||
sectionText = sectionText.replace(/[\u200B-\u200D\uFEFF]/g, "");
|
||||
|
||||
// replace any fancy symbols
|
||||
sectionText = Misc.cleanTypographySymbols(sectionText);
|
||||
sectionText = Strings.cleanTypographySymbols(sectionText);
|
||||
|
||||
// Remove non-ascii characters for English articles
|
||||
if (urlTLD === "en") {
|
||||
|
|
Loading…
Reference in a new issue