Browse Source

Fix typo

closed-social-glitch-2
Eugen Rochko 7 years ago
parent
commit
3208979655
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/assets/javascripts/components/actions/compose.jsx

+ 2
- 2
app/assets/javascripts/components/actions/compose.jsx View File

@ -85,11 +85,11 @@ export function submitCompose() {
dispatch(updateTimeline('home', { ...response.data }));
if (response.data.in_reply_to_id === null && response.data.visibility === 'public') {
if (getState.getIn(['timelines', 'community', 'loaded'])) {
if (getState().getIn(['timelines', 'community', 'loaded'])) {
dispatch(updateTimeline('community', { ...response.data }));
}
if (getState.getIn(['timelines', 'public', 'loaded'])) {
if (getState().getIn(['timelines', 'public', 'loaded'])) {
dispatch(updateTimeline('public', { ...response.data }));
}
}

Loading…
Cancel
Save