+
+
+
+ setIsCoverImageModalOpen(true)}
+ className="mt-4"
+ >
+ {t("Upload Facility Image")}
+
+
+ setIsCoverImageModalOpen(false)}
+ onSave={() => setIsCoverImageModalOpen(false)}
+ facility={{
+ id: createdFacilityId,
+ name: state.form.name,
+ read_cover_image_url: "",
+ }}
+ />
+
+
+
+ {
+ navigate(`/facility/${createdFacilityId}`);
+ }}
+ className="mt-4"
+ >
+ {t("Save Facility")}
+
+
+
+ );
+
case 3:
return (