Remove typo and unused import

This commit is contained in:
pietervdvn 2021-06-21 03:10:07 +02:00
parent 083d8504d7
commit edab6109ca
2 changed files with 1 additions and 2 deletions

View file

@ -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]

View file

@ -1,4 +1,3 @@
import {UIElement} from "../UIElement";
import {FixedUiElement} from "../Base/FixedUiElement";
import AllTranslationAssets from "../../AllTranslationAssets";
import {Translation} from "./Translation";