From 390fab485d85b5148d891ca33ae04011683dc3a6 Mon Sep 17 00:00:00 2001 From: Jesse Hallam Date: Mon, 23 Jul 2018 14:50:12 -0400 Subject: [PATCH] access window.PostUtils --- webapp/src/components/post_type.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {