mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 04:41:43 +03:00
Review changes
This commit is contained in:
parent
111b317c94
commit
9e25753515
@ -48,7 +48,7 @@ export default function(state = initialState, action) {
|
||||
return {
|
||||
...state,
|
||||
otherAccounts: state.otherAccounts.some(
|
||||
({ username }) => username === action.payload.username,
|
||||
({ username }) => username === get(action.payload, 'username'),
|
||||
)
|
||||
? [...state.otherAccounts]
|
||||
: [...state.otherAccounts, action.payload],
|
||||
|
Loading…
Reference in New Issue
Block a user