diff --git a/webapp/src/components/post_type.jsx b/webapp/src/components/post_type.jsx index 41b7573..7d778fc 100644 --- a/webapp/src/components/post_type.jsx +++ b/webapp/src/components/post_type.jsx @@ -1,7 +1,7 @@ import React from 'react'; import PropTypes from 'prop-types'; -const {formatText, messageHtmlToComponent} = window['post-utils']; +const {formatText, messageHtmlToComponent} = window.PostUtils; export default class PostType extends React.PureComponent { static propTypes = {