From 0d50bd12b8a43cd6ebe14e894852ac198c26e32a Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 23 Apr 2020 16:06:27 +0100 Subject: [PATCH] fix imports Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/structures/CompatibilityPage.tsx | 3 +-- src/components/structures/ErrorView.tsx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/structures/CompatibilityPage.tsx b/src/components/structures/CompatibilityPage.tsx index a5b3f7ba79..ef587fb259 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 3178334e5d..522a14f1b0 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.