update
This commit is contained in:
@@ -341,7 +341,7 @@ export default function AppointmentForm({ isEdit, id, currentAppointment }: Prop
|
||||
.catch((response) => {
|
||||
enqueueSnackbar(response.message, { variant: 'error' });
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
<FormProvider methods={methods} onSubmit={handleSubmit(onSubmit)}>
|
||||
@@ -652,7 +652,7 @@ export default function AppointmentForm({ isEdit, id, currentAppointment }: Prop
|
||||
<Grid item xs={12} md={12} sx={{ display: 'flex', justifyContent: 'flex-end' }}>
|
||||
<Button
|
||||
sx={{ boxShadow: '0px 2px 4px rgba(0, 0, 0, 0.1)', marginRight: '10px' }}
|
||||
onClick={handleDownloadEPrescription(id)}
|
||||
onClick={() => handleDownloadEPrescription(id)}
|
||||
variant="contained"
|
||||
size="large"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user