From d20db3560a20c2a7075cfb77ef1e3e35fceed897 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 17 Jan 2020 15:50:27 +0100 Subject: [PATCH] fix import paths after build system refactor --- src/components/views/right_panel/EncryptionInfo.js | 2 +- src/components/views/right_panel/EncryptionPanel.js | 2 +- src/components/views/right_panel/VerificationPanel.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 {