summaryrefslogtreecommitdiffstats
path: root/web/react/components/post_attachment.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/post_attachment.jsx')
-rw-r--r--web/react/components/post_attachment.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/post_attachment.jsx b/web/react/components/post_attachment.jsx
index cf65dfbfb..676bc91af 100644
--- a/web/react/components/post_attachment.jsx
+++ b/web/react/components/post_attachment.jsx
@@ -1,7 +1,7 @@
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
-const TextFormatting = require('../utils/text_formatting.jsx');
+import * as TextFormatting from '../utils/text_formatting.jsx';
export default class PostAttachment extends React.Component {
constructor(props) {