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