Sfoglia il codice sorgente

fix imports

Signed-off-by: Michael Telatynski <[email protected]>
Michael Telatynski 5 anni fa
parent
commit
0d50bd12b8

+ 1 - 2
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.

+ 1 - 2
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.