Fix typo
This commit is contained in:
parent
fbdb3bcf1e
commit
3208979655
@ -85,11 +85,11 @@ export function submitCompose() {
|
|||||||
dispatch(updateTimeline('home', { ...response.data }));
|
dispatch(updateTimeline('home', { ...response.data }));
|
||||||
|
|
||||||
if (response.data.in_reply_to_id === null && response.data.visibility === 'public') {
|
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 }));
|
dispatch(updateTimeline('community', { ...response.data }));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getState.getIn(['timelines', 'public', 'loaded'])) {
|
if (getState().getIn(['timelines', 'public', 'loaded'])) {
|
||||||
dispatch(updateTimeline('public', { ...response.data }));
|
dispatch(updateTimeline('public', { ...response.data }));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user