From 4aa152f18f40b3b5e8398ce1de1e3a8df5a9e4c2 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Wed, 1 Mar 2017 01:57:48 +0100 Subject: [PATCH] Fix typo --- app/assets/javascripts/components/actions/compose.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/components/actions/compose.jsx b/app/assets/javascripts/components/actions/compose.jsx index 54ec7b9150..b7f225170c 100644 --- a/app/assets/javascripts/components/actions/compose.jsx +++ b/app/assets/javascripts/components/actions/compose.jsx @@ -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 })); } }