Cannot pass this challenge please help

https://learn.freecodecamp.org/front-end-libraries/redux/handle-an-action-in-the-store/

https://redux.js.org/basics/actions
you have the if statement or switch

object is {myvalue: 1}

Sorry bro, can’t understand, can you please give me the code of this challenge?

I don’t remember and I have time for you.
In this I also have stuck one day.
You don’t know what IF statement or Switch?
I remember the state is also object so you check the values like state.login


Bro I just stuck in the last second last challenge in which I’ve to ‘Dispatching loginAction should update the login property in the store state to true’’.
Please help if you can

and else and set the state object to true.
You don’t need to make a local declaration of state object.