Branch name is misnamed, but in regards to issue #7 - used provided .then methods to have AnimalRepository delete function remove pet data as well as use syncAnimals funct to get & set list of all animals. Then used history function to push back to list of animals. Also in Employee component - moved employee fire button inside ternary operator so it would only render on employee list but not emp details, and removed unnecessary employeeId key from constructNewAnimal function in AnimalForm component.
Branch name is misnamed, but in regards to issue #7 - used provided .then methods to have AnimalRepository delete function remove pet data as well as use syncAnimals funct to get & set list of all animals. Then used history function to push back to list of animals. Also in Employee component - moved employee fire button inside ternary operator so it would only render on employee list but not emp details, and removed unnecessary employeeId key from constructNewAnimal function in AnimalForm component.