You've already forked tf2wikipricing
lint: remove dead code
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import styleCss from './style.css'
|
import styleCss from './style.css'
|
||||||
|
|
||||||
import { logDebug, log, logError } from './utils/log'
|
import { logDebug, log, logError } from './utils/log'
|
||||||
import { getPricesToken, priceUsingPricesTF } from './pricing/pricestf'
|
import { getPricesToken } from './pricing/pricestf'
|
||||||
import itemQualities from 'tf2-static-schema/static/qualities.json';
|
import itemQualities from 'tf2-static-schema/static/qualities.json';
|
||||||
import { getItemIndexByName, getTradableStatusByDefindex, ItemSchema, ItemSlot, prepareSchema, wipeSchema } from './schemaService'
|
import { getItemIndexByName, getTradableStatusByDefindex, ItemSchema, ItemSlot, prepareSchema, wipeSchema } from './schemaService'
|
||||||
import { $T, extractLocaleFromURL } from './utils/localization'
|
import { $T, extractLocaleFromURL } from './utils/localization'
|
||||||
@@ -52,8 +52,6 @@ async function inject() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const url = document.URL;
|
|
||||||
|
|
||||||
if (itemName && !itemIndex) {
|
if (itemName && !itemIndex) {
|
||||||
itemIndex = getItemIndexByName(itemSchema, itemName)
|
itemIndex = getItemIndexByName(itemSchema, itemName)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user