Ability to delete a unit with updates to the database. Addition of an overflow menu to each unit card. Currently has a delete and edit button. Edit has to be implemented.
Edit can be implemented like so (or something like this):
-Change line 107 in UnitOverFlowMenu to be handleEditClick
-Add a function to handleEditClick
-Have an edit function in UnitController with an appropriate route in UnitRoutes that is called by handleEditClick.
Ability to delete a unit with updates to the database. Addition of an overflow menu to each unit card. Currently has a delete and edit button. Edit has to be implemented.
Edit can be implemented like so (or something like this): -Change line 107 in UnitOverFlowMenu to be handleEditClick -Add a function to handleEditClick -Have an edit function in UnitController with an appropriate route in UnitRoutes that is called by handleEditClick.