mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-18 12:52:52 +00:00
Fix mistake
This commit is contained in:
parent
bef4d8dab8
commit
d85df27053
|
@ -28,7 +28,7 @@ export const getStatus = createSelector([getStatusBase, getStatuses, getAccounts
|
||||||
const getAccountTimelineIds = (state, id) => state.getIn(['timelines', 'accounts_timelines', id], Immutable.List());
|
const getAccountTimelineIds = (state, id) => state.getIn(['timelines', 'accounts_timelines', id], Immutable.List());
|
||||||
|
|
||||||
const assembleStatus = (id, statuses, accounts) => {
|
const assembleStatus = (id, statuses, accounts) => {
|
||||||
let status = statuses.get(id);
|
let status = statuses.get(id, null);
|
||||||
|
|
||||||
if (status === null) {
|
if (status === null) {
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in a new issue