diff --git a/src/components/structures/CompatibilityPage.tsx b/src/components/structures/CompatibilityPage.tsx index a5b3f7ba..ef587fb2 100644 --- a/src/components/structures/CompatibilityPage.tsx +++ b/src/components/structures/CompatibilityPage.tsx @@ -15,8 +15,7 @@ limitations under the License. */ import * as React from "react"; - -import {_t} from "../../vector/init"; +import { _t } from "matrix-react-sdk/src/languageHandler"; // directly import the style here as this layer does not support rethemedex at this time so no matrix-react-sdk // scss variables will be accessible. diff --git a/src/components/structures/ErrorView.tsx b/src/components/structures/ErrorView.tsx index 3178334e..522a14f1 100644 --- a/src/components/structures/ErrorView.tsx +++ b/src/components/structures/ErrorView.tsx @@ -16,8 +16,7 @@ limitations under the License. import * as React from "react"; import * as PropTypes from "prop-types"; - -import {_t} from "../../vector/init"; +import { _t } from "matrix-react-sdk/src/languageHandler"; // directly import the style here as this layer does not support rethemedex at this time so no matrix-react-sdk // scss variables will be accessible.