Skip to content

Commit

Permalink
MSCR-581 Change Cancel button to say Close when content submitted in …
Browse files Browse the repository at this point in the history
…modal
  • Loading branch information
maariaw committed Oct 8, 2024
1 parent 107e160 commit ad3215f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mscr-ui/src/modules/form/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ export default function FormModal({
: t('content-form.button.crosswalk-revision')}
</Button>
<Button variant="secondary" onClick={() => handleClose()}>
{t('cancel')}
{userPosted ? t('close') : t('cancel')}
</Button>
</ModalFooter>
</Modal>
Expand Down

0 comments on commit ad3215f

Please sign in to comment.