diff options
Diffstat (limited to 'webapp/components')
-rw-r--r-- | webapp/components/view_image.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webapp/components/view_image.jsx b/webapp/components/view_image.jsx index 4350711fc..7872867f3 100644 --- a/webapp/components/view_image.jsx +++ b/webapp/components/view_image.jsx @@ -11,7 +11,8 @@ import * as GlobalActions from 'actions/global_actions.jsx'; import * as FileUtils from 'utils/file_utils'; import * as Utils from 'utils/utils.jsx'; -import {KeyCodes} from 'utils/constants.jsx'; +import Constants from 'utils/constants.jsx'; +const KeyCodes = Constants.KeyCodes; import {getFileUrl, getFilePreviewUrl} from 'mattermost-redux/utils/file_utils'; |