Skip to content

Commit

Permalink
chore: changed default button text to be OK in error modal
Browse files Browse the repository at this point in the history
  • Loading branch information
ameerul-deriv committed May 10, 2024
1 parent 360e3d7 commit fb24ef9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Modals/ErrorModal/ErrorModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const ErrorModal = ({ buttonText, isModalOpen, message, onRequestClose, title }:
</Modal.Body>
<Modal.Footer hideBorder>
<Button onClick={onRequestClose} size='lg' textSize='sm'>
{buttonText ?? 'Ok'}
{buttonText ?? 'OK'}
</Button>
</Modal.Footer>
</Modal>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ const AdvertiserAdvertsTable = ({ advertiserId }: TAdvertiserAdvertsTableProps)
)}
{isModalOpenFor('ErrorModal') && (
<ErrorModal
buttonText='OK'
isModalOpen
message='It’s either deleted or no longer active.'
onRequestClose={hideModal}
Expand Down

0 comments on commit fb24ef9

Please sign in to comment.