diff --git a/frontend/src/Dashboard.tsx b/frontend/src/Dashboard.tsx index a687b15..c2d91d1 100644 --- a/frontend/src/Dashboard.tsx +++ b/frontend/src/Dashboard.tsx @@ -16,6 +16,7 @@ type Job = { pay: number; start: Date; end: Date; + user_id: string; }; interface Pet { @@ -55,6 +56,17 @@ interface User { username: string; } +const PetCardChip = (props: { title: string; value: string }) => { + return ( +
Pet Name: {job.pet.name}
-Job Status: {job.status}
-- Location: {job?.location?.address ?? ""},{" "} - {job?.location?.city ?? ""}, {job?.location?.zipcode ?? ""} -
-Pay: ${job.pay}
-Start: {formatDate(job.start)}
-End: {formatDate(job.end)}
++ Health Requirements: {job.pet.health_requirements} +
+Job Status: {job.status}
++ Location: {job?.location?.address ?? ""},{" "} + {job?.location?.city ?? ""}, {job?.location?.zipcode ?? ""} +
+Pay: ${job.pay}
+Start: {formatDate(job.start)}
+End: {formatDate(job.end)}
+