Begin job details cards.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import React from "react";
|
||||
import JobDetailCardsCustomerContainer from "./job-detail-cards.customer.container";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
export default function JobDetailCards({ selectedJob }) {
|
||||
const { t } = useTranslation();
|
||||
|
||||
if (!selectedJob) {
|
||||
return <div>{t("jobs.errors.nojobselected")}</div>;
|
||||
}
|
||||
return (
|
||||
<div>
|
||||
<JobDetailCardsCustomerContainer selectedJob={selectedJob} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user