Get State from the Redux Store

Tell us what’s happening:

  **Your code so far**

const store = Redux.createStore(
(state = 5) => state
);

// Change code below this line

store.getState()
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36.

Challenge: Get State from the Redux Store

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

The more information you give us, the more likely we are to be able to help.

Hi @alex6 !

You didn’t finish the problem.
You need to do the last part of the instructions.

FCC instructions:
and assign this to a new variable currentState .