import { randomStr } from "@utils/helpers";
import { Component, linkEvent } from "inferno";
-import { i18n } from "../../i18next";
-import { HttpService, UserService } from "../../services";
+import { HttpService, I18NextService, UserService } from "../../services";
import { toast } from "../../toast";
import { Icon } from "./icon";
/>
<a
onClick={linkEvent(this, this.handleRemoveImage)}
- aria-label={i18n.t("remove")}
+ aria-label={I18NextService.i18n.t("remove")}
>
<Icon icon="x" classes="mini-overlay" />
</a>