Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list.setIn([]) inserts empty array #1904

Open
justintim-es opened this issue May 19, 2022 · 1 comment
Open

list.setIn([]) inserts empty array #1904

justintim-es opened this issue May 19, 2022 · 1 comment
Labels
awaiting-response Awaiting response from creator. Can't fix without it.

Comments

@justintim-es
Copy link

justintim-es commented May 19, 2022

 offersLA: state.offersLA.setIn([
            action.payload!.index,
            'fixumDefences'
          ], List(action.payload!.liberDef)).setIn([
            action.payload!.index,
            'liberDefences'
          ], List(action.payload!.fixumDef))
        };

the payload has value but the list inside of the list stays empty
"^4.0.0"

@jdeniau
Copy link
Member

jdeniau commented May 19, 2022

Hi,

Can you provide a more reproducible example? It looks like you copy pasted a portion of your code.
The best example is to make the smallest possible code that contains your issue.

Thanks

@jdeniau jdeniau added the awaiting-response Awaiting response from creator. Can't fix without it. label May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-response Awaiting response from creator. Can't fix without it.
Projects
None yet
Development

No branches or pull requests

2 participants