From 1dc4e14606bf01865c4478bb0c3fc77a6f5ad164 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Thu, 26 Nov 2015 13:49:39 +0000 Subject: [PATCH] Import things at the right levels --- src/Avatar.js | 2 +- src/components/views/avatars/MemberAvatar.js | 4 ++-- src/components/views/avatars/RoomAvatar.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Avatar.js b/src/Avatar.js index afc5e9dd6d..02025a9384 100644 --- a/src/Avatar.js +++ b/src/Avatar.js @@ -16,7 +16,7 @@ limitations under the License. 'use strict'; -var MatrixClientPeg = require('matrix-react-sdk/lib/MatrixClientPeg'); +var MatrixClientPeg = require('./MatrixClientPeg'); module.exports = { avatarUrlForMember: function(member, width, height, resizeMethod) { diff --git a/src/components/views/avatars/MemberAvatar.js b/src/components/views/avatars/MemberAvatar.js index 8cfeaa98d2..f65f11256b 100644 --- a/src/components/views/avatars/MemberAvatar.js +++ b/src/components/views/avatars/MemberAvatar.js @@ -17,8 +17,8 @@ limitations under the License. 'use strict'; var React = require('react'); -var Avatar = require('../../Avatar'); -var MatrixClientPeg = require('../../MatrixClientPeg'); +var Avatar = require('../../../Avatar'); +var MatrixClientPeg = require('../../../MatrixClientPeg'); module.exports = React.createClass({ displayName: 'MemberAvatar', diff --git a/src/components/views/avatars/RoomAvatar.js b/src/components/views/avatars/RoomAvatar.js index 086136fa1b..55f0e92cc1 100644 --- a/src/components/views/avatars/RoomAvatar.js +++ b/src/components/views/avatars/RoomAvatar.js @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ var React = require('react'); -var MatrixClientPeg = require('../../MatrixClientPeg'); +var MatrixClientPeg = require('../../../MatrixClientPeg'); module.exports = React.createClass({ displayName: 'RoomAvatar',