Skip to content

Commit 0d50bd1

Browse files
committed
fix imports
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
1 parent 15894ed commit 0d50bd1

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎src/components/structures/CompatibilityPage.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ limitations under the License.
1515
*/
1616

1717
import * as React from "react";
18-
19-
import {_t} from "../../vector/init";
18+
import { _t } from "matrix-react-sdk/src/languageHandler";
2019

2120
// directly import the style here as this layer does not support rethemedex at this time so no matrix-react-sdk
2221
// scss variables will be accessible.

‎src/components/structures/ErrorView.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ limitations under the License.
1616

1717
import * as React from "react";
1818
import * as PropTypes from "prop-types";
19-
20-
import {_t} from "../../vector/init";
19+
import { _t } from "matrix-react-sdk/src/languageHandler";
2120

2221
// directly import the style here as this layer does not support rethemedex at this time so no matrix-react-sdk
2322
// scss variables will be accessible.

0 commit comments

Comments
 (0)