mirror of
https://github.com/abhay-raizada/PeerScribe.git
synced 2026-04-26 08:14:03 +00:00
Fix typos, bugs
This commit is contained in:
@@ -85,7 +85,7 @@ export const MedicineForm: React.FC<MedicineFormProps> = ({
|
||||
<TextInput
|
||||
style={styles.input}
|
||||
placeholder="Enter directions"
|
||||
value={form.refills}
|
||||
value={form.directions}
|
||||
placeholderTextColor="white"
|
||||
onChangeText={(text: string) => handleTextChange('directions', text)}
|
||||
/>
|
||||
|
||||
@@ -62,7 +62,7 @@ export const PatientForm: React.FC<PatientFormProps> = ({
|
||||
modal
|
||||
mode={'date'}
|
||||
open={openDate}
|
||||
date={new Date(form.date_of_birth || '01-01-1999')}
|
||||
date={new Date(form.date_of_birth || '1990-01-01')}
|
||||
onCancel={() => setOpenDate(false)}
|
||||
onConfirm={(date: Date) => {
|
||||
handleTextChange('date_of_birth', date.toDateString());
|
||||
|
||||
@@ -176,7 +176,7 @@ export const PrescriptionCreator = () => {
|
||||
<Section title="Address" collapsible={true}>
|
||||
<AddressForm nestedFormCallback={nestedFormCallback} />
|
||||
</Section>
|
||||
<Section title="Medicine" collapsible={true}>
|
||||
<Section title="Medication" collapsible={true}>
|
||||
<MedicineForm nestedFormCallback={nestedFormCallback} />
|
||||
</Section>
|
||||
<View style={{margin: 15}}>
|
||||
|
||||
Reference in New Issue
Block a user