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