Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Fix: accounts is not merged into store as array #114

Open
Velissel opened this issue May 1, 2021 · 1 comment
Open

Fix: accounts is not merged into store as array #114

Velissel opened this issue May 1, 2021 · 1 comment

Comments

@Velissel
Copy link

Velissel commented May 1, 2021

if (action.type === AccountsActions.ACCOUNTS_FETCHED) {
    return Object.assign({}, state, action.accounts)
}

at packages/store/src/accounts/accountsReducer.js

action.accounts is an array, but it is merged int as object. According to other components, I assume array should be the correct data type.

@Velissel
Copy link
Author

Velissel commented May 1, 2021

how do I submit my fix branch to create PR? I am always denied with 403

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant