Fix console error when logging in with non-english language (#4941)

Этот коммит содержится в:
Joram Wilander
2017-01-03 12:38:51 -05:00
коммит произвёл Corey Hulen
родитель 2308499fa4
Коммит fba49d1b80
3 изменённых файлов: 10 добавлений и 10 удалений

Просмотреть файл

@@ -190,15 +190,11 @@ export function emitPostFocusEvent(postId, onSuccess) {
}
export function emitCloseRightHandSide() {
AppDispatcher.handleServerAction({
type: ActionTypes.RECEIVED_SEARCH,
results: null
});
SearchStore.storeSearchResults(null, false, false);
SearchStore.emitSearchChange();
AppDispatcher.handleServerAction({
type: ActionTypes.RECEIVED_POST_SELECTED,
postId: null
});
PostStore.storeSelectedPostId(null);
PostStore.emitSelectedPostChange(false, false);
}
export function emitPostFocusRightHandSideFromSearch(post, isMentionSearch) {