Create a new action, reducer, and constants file for exchanges. This will have the data for the exchanges a user will have.
Within these files make a new action that takes in an exchange item and will push it to the firebase repo. Then in the reducer that should update the global redux state.
you can add a button on the page that already has redux mapstatetoprops to test it out
Create a new action, reducer, and constants file for exchanges. This will have the data for the exchanges a user will have.
Within these files make a new action that takes in an exchange item and will push it to the firebase repo. Then in the reducer that should update the global redux state.
you can add a button on the page that already has redux mapstatetoprops to test it out