import { Post } from "lemmy-js-client";
import * as sanitizeHtml from "sanitize-html";
import { relTags } from "../../config";
-import { i18n } from "../../i18next";
+import { I18NextService } from "../../services";
import { Icon } from "../common/icon";
interface MetadataCardProps {
className="mt-2 btn btn-secondary text-monospace"
onClick={linkEvent(this, this.handleIframeExpand)}
>
- {i18n.t("expand_here")}
+ {I18NextService.i18n.t("expand_here")}
</button>
)}
</div>