diff --git a/src/components/views/right_panel/EncryptionInfo.js b/src/components/views/right_panel/EncryptionInfo.js index 3d5de829b7..5770e9b086 100644 --- a/src/components/views/right_panel/EncryptionInfo.js +++ b/src/components/views/right_panel/EncryptionInfo.js @@ -15,7 +15,7 @@ limitations under the License. */ import React from 'react'; -import sdk from "../../.."; +import * as sdk from '../../../index'; import {_t} from "../../../languageHandler"; export default class EncryptionInfo extends React.PureComponent { diff --git a/src/components/views/right_panel/EncryptionPanel.js b/src/components/views/right_panel/EncryptionPanel.js index e3f3b86940..4b3473935a 100644 --- a/src/components/views/right_panel/EncryptionPanel.js +++ b/src/components/views/right_panel/EncryptionPanel.js @@ -17,7 +17,7 @@ limitations under the License. import React from 'react'; import EncryptionInfo from "./EncryptionInfo"; import VerificationPanel from "./VerificationPanel"; -import MatrixClientPeg from "../../../MatrixClientPeg"; +import {MatrixClientPeg} from "../../../MatrixClientPeg"; import {ensureDMExists} from "../../../createRoom"; export default class EncryptionPanel extends React.PureComponent { diff --git a/src/components/views/right_panel/VerificationPanel.js b/src/components/views/right_panel/VerificationPanel.js index fff9c37358..4dee3e6ae8 100644 --- a/src/components/views/right_panel/VerificationPanel.js +++ b/src/components/views/right_panel/VerificationPanel.js @@ -15,7 +15,7 @@ limitations under the License. */ import React from 'react'; -import sdk from "../../.."; +import * as sdk from '../../../index'; import {verificationMethods} from 'matrix-js-sdk/src/crypto'; export default class VerificationPanel extends React.PureComponent {