1

I use admin-on-rest. I made a custom toolbar for the user data edit page. How inside this toolbar to get access to user data?

1 Answers1

0

You can use redux-form selectors to retrieve either the full form or only some fields.

For that, you'll have to make your custom toolbar a connected component using redux connect and call the selectors from your mapStateToProps function.

Gildas Garcia
  • 6,966
  • 3
  • 15
  • 29