From e82824d67c7891b524abe5e5da8748a50704bae5 Mon Sep 17 00:00:00 2001
From: elisa lee
There are currently no devices
} + {formCurrentValues.devices.length === 0 && ( +There are currently no devices
+ )}
If you don’t see a device you’re using, please contact{" "}
support@simplereport.gov{" "}
diff --git a/frontend/src/app/Settings/Facility/Components/OrderingProvider.tsx b/frontend/src/app/Settings/Facility/Components/OrderingProvider.tsx
index c5f5ff081d2..ec645ccd9dc 100644
--- a/frontend/src/app/Settings/Facility/Components/OrderingProvider.tsx
+++ b/frontend/src/app/Settings/Facility/Components/OrderingProvider.tsx
@@ -2,41 +2,39 @@ import React from "react";
import { stateCodes } from "../../../../config/constants";
import { requiresOrderProvider } from "../../../utils/state";
-import { ValidateField } from "../FacilityForm";
-import { FacilityErrors } from "../facilitySchema";
import Dropdown from "../../../commonComponents/Dropdown";
import TextInput from "../../../commonComponents/TextInput";
-import { getSubStrAfterChar } from "../../../utils/text";
+import { phoneNumberIsValid } from "../../../patients/personSchema";
+import { FacilityFormData } from "../FacilityForm";
+import { zipCodeRegex } from "../../../utils/address";
interface Props {
- facility: Facility;
- updateProvider: (provider: Provider) => void;
- errors: FacilityErrors;
- validateField: ValidateField;
newOrg?: boolean;
+ errors: any;
+ register: any;
+ formCurrentValues: FacilityFormData;
}
const OrderingProvider: React.FC