Prechádzať zdrojové kódy

Update instruments.ts

lex-xin 1 týždeň pred
rodič
commit
0ecb042e7e
1 zmenil súbory, kde vykonal 0 pridanie a 1 odobranie
  1. 0 1
      src/constant/instruments.ts

+ 0 - 1
src/constant/instruments.ts

@@ -213,7 +213,6 @@
 export const getInstrumentName = (instruments: any, instrumentName: string) => {
   const _instrumentName = instrumentName
     .replace(/ /g, '')
-    .replace(/\d+|\d+/g, '')
     .trim()
     .toLocaleLowerCase()
   const _instrument = Object.keys(instruments)