Forráskód Böngészése

Update instruments.ts

lex-xin 1 hete
szülő
commit
0ecb042e7e
1 módosított fájl, 0 hozzáadás és 1 törlés
  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)