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);
|
||||
}catch(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]
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import {UIElement} from "../UIElement";
|
||||
import {FixedUiElement} from "../Base/FixedUiElement";
|
||||
import AllTranslationAssets from "../../AllTranslationAssets";
|
||||
import {Translation} from "./Translation";
|
||||
|
|
Loading…
Reference in a new issue