forked from MapComplete/MapComplete
Remove typo and unused import
This commit is contained in:
parent
083d8504d7
commit
edab6109ca
2 changed files with 1 additions and 2 deletions
|
@ -60,7 +60,7 @@ export class SubstitutedTranslation extends VariableUiElement {
|
||||||
element = knownSpecial.constr(State.state, tags, args);
|
element = knownSpecial.constr(State.state, tags, args);
|
||||||
}catch(e){
|
}catch(e){
|
||||||
console.error("SPECIALRENDERING FAILED for", tags.data.id, e)
|
console.error("SPECIALRENDERING FAILED for", tags.data.id, e)
|
||||||
element = new FixedUiElement(`Could not generate special renering for ${knownSpecial}(${args.join(", ")}) ${e}`).SetClass("alert")
|
element = new FixedUiElement(`Could not generate special rendering for ${knownSpecial}(${args.join(", ")}) ${e}`).SetClass("alert")
|
||||||
}
|
}
|
||||||
|
|
||||||
return [...partBefore, element, ...partAfter]
|
return [...partBefore, element, ...partAfter]
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
import {UIElement} from "../UIElement";
|
|
||||||
import {FixedUiElement} from "../Base/FixedUiElement";
|
import {FixedUiElement} from "../Base/FixedUiElement";
|
||||||
import AllTranslationAssets from "../../AllTranslationAssets";
|
import AllTranslationAssets from "../../AllTranslationAssets";
|
||||||
import {Translation} from "./Translation";
|
import {Translation} from "./Translation";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue