clothing100 / clothing100

Marketplace app that encourages students to rent and borrow clothing in a more circular fashion
0 stars 0 forks source link

Make redux for creating a new exchange #30

Open annazhang2002 opened 2 years ago

annazhang2002 commented 2 years ago

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

rosiesr commented 2 years ago

working on this very sorry for delay ...