summaryrefslogtreecommitdiffstats
path: root/webapp/components/setting_picture.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/setting_picture.jsx')
-rw-r--r--webapp/components/setting_picture.jsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/webapp/components/setting_picture.jsx b/webapp/components/setting_picture.jsx
index 2d389a902..faa463cc7 100644
--- a/webapp/components/setting_picture.jsx
+++ b/webapp/components/setting_picture.jsx
@@ -7,9 +7,10 @@ import React, {Component} from 'react';
import {FormattedMessage} from 'react-intl';
import FormError from 'components/form_error.jsx';
-
import loadingGif from 'images/load.gif';
+import Constants from 'utils/constants.jsx';
+
export default class SettingPicture extends Component {
static propTypes = {
clientError: PropTypes.string,
@@ -114,8 +115,8 @@ export default class SettingPicture extends Component {
id='setting_picture.help'
defaultMessage='Upload a profile picture in BMP, JPG, JPEG or PNG format, at least {width}px in width and {height}px height.'
values={{
- width: global.mm_config.ProfileWidth,
- height: global.mm_config.ProfileHeight
+ width: Constants.PROFILE_WIDTH,
+ height: Constants.PROFILE_WIDTH
}}
/>
</li>