diff --git a/components/PrescriptionCreator/index.tsx b/components/PrescriptionCreator/index.tsx index 3484f33..2753caa 100644 --- a/components/PrescriptionCreator/index.tsx +++ b/components/PrescriptionCreator/index.tsx @@ -108,7 +108,7 @@ export const PrescriptionCreator = ({ form }: { form: any }) => { if (form === null) return Loading... const [showImportNsec, setShowImportNsec] = useState(false); const [loggedInNpub, setLoggedInNpub] = useState("") - const [selectedPharmacyId, setSelectedPharmacyId] = useState(""); + const [selectedPharmacyId, setSelectedPharmacyId] = useState(locationData[0].npub); const [selectedPharmacyRelays, setSelectedPharmacyRelays] = useState([]); const [finalJSON, setFinalJson] = useState({})