Skip to content

Commit

Permalink
Replace "Edit" with "Update" verb for confirmation button copy (#80)
Browse files Browse the repository at this point in the history
# Replace "Edit" with "Update" verb for confirmation button copy

### Code of Conduct & Contributing Guidelines 

By submitting creating this pull request, you agree to follow our [Code
of
Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md):
- [x] I agree to follow the [Code of
Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md).
  • Loading branch information
arkadiuszbachorski authored Nov 3, 2024
1 parent 88f794f commit d694c6f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion routes/~_dashboard/~patients/PatientForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const PatientForm = ({
)}
/>
<Button type="submit" isPending={form.formState.isSubmitting}>
{isEdit ? 'Edit' : 'Invite'} patient
{isEdit ? 'Update' : 'Invite'} patient
</Button>
</form>
)
Expand Down
2 changes: 1 addition & 1 deletion routes/~_dashboard/~patients/~$id/AllergyForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const AllergyForm = ({
)}
/>
<Button type="submit" isPending={form.formState.isSubmitting}>
{isEdit ? 'Edit' : 'Create'} allergy
{isEdit ? 'Update' : 'Create'} allergy
</Button>
</form>
)
Expand Down
2 changes: 1 addition & 1 deletion routes/~_dashboard/~patients/~$id/AppointmentForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const AppointmentForm = ({
)}
/>
<Button type="submit" isPending={form.formState.isSubmitting}>
{isEdit ? 'Edit' : 'Create'} appointment
{isEdit ? 'Update' : 'Create'} appointment
</Button>
</form>
)
Expand Down
2 changes: 1 addition & 1 deletion routes/~_dashboard/~patients/~$id/LabForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export const LabForm = ({ observation, onSubmit }: LabFormProps) => {
)}
/>
<Button type="submit" isPending={form.formState.isSubmitting}>
{isEdit ? 'Edit' : 'Create'} observation
{isEdit ? 'Update' : 'Create'} observation
</Button>
</form>
)
Expand Down
2 changes: 1 addition & 1 deletion routes/~_dashboard/~users/UserForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export const UserForm = ({
)}
/>
<Button type="submit" isPending={form.formState.isSubmitting}>
{isEdit ? 'Edit' : 'Invite'} user
{isEdit ? 'Update' : 'Invite'} user
</Button>
</form>
)
Expand Down

0 comments on commit d694c6f

Please sign in to comment.