diff options
| author | taehoon <th.dev91@gmail.com> | 2019-09-19 14:38:55 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-09-20 11:29:31 -0400 |
| commit | c8a18f387c28d5f895c1e727b0d040da96dcebc1 (patch) | |
| tree | 95f669b04f9e42810ea3a3a07a27d5734e980134 /src/components/post_status_form | |
| parent | d6a941a128f37a2d04f5e60ad21037c2c5efcfa3 (diff) | |
wire up props with PostStatusModal
Diffstat (limited to 'src/components/post_status_form')
| -rw-r--r-- | src/components/post_status_form/post_status_form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 40bbf6d4..dc4b419c 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -8,7 +8,7 @@ import fileTypeService from '../../services/file_type/file_type.service.js' import { reject, map, uniqBy } from 'lodash' import suggestor from '../emoji-input/suggestor.js' -const buildMentionsString = ({ user, attentions }, currentUser) => { +const buildMentionsString = ({ user, attentions = [] }, currentUser) => { let allAttentions = [...attentions] allAttentions.unshift(user) |
