Jonorlowski1 / Project-3-DM-App

0 stars 2 forks source link

General code clean-up #87

Open Tward26 opened 5 years ago

Tward26 commented 5 years ago

Dry up the code by removing redundant components/pages

i.e.

InitCard and initAdminCard InitPage and InitAdminPage Separate components for all the editable fields, just make one and pass more props.

Tward26 commented 5 years ago

Cleaned up the editable fields components to be just 1 with passing down more props. Name is still a separate component since it works slightly differently. Waiting on protected routes to clean up admin vs regular user init cards and pages.